code: public String getSubmoduleName() {
          if (path != null && path.length > SUBMODULE_INDEX)
              return path[SUBMODULE_INDEX];
          else
              return null;
      }
docs: Returns the submodule name in the path