code: public String getRepositoryBaseFolderName(CmsObject cms) {
  
          String value = "";
          try {
              value = cms.readPropertyObject(
                  CmsCategoryService.CENTRALIZED_REPOSITORY,
                  CmsPropertyDefinition.PROPERTY_DEFAULT_FILE,
                  false).getValue();
          } catch (CmsException e) {
              if (LOG.isErrorEnabled()) {
                  LOG.error(e.getLocalizedMessage(), e);
              }
          }
          if (CmsStringUtil.isEmptyOrWhitespaceOnly(value)) {
              value = OpenCms.getWorkplaceManager().getCategoryFolder();
          }
          if (CmsStringUtil.isEmptyOrWhitespaceOnly(value)) {
              value = REPOSITORY_BASE_FOLDER;
          }
          if (!value.endsWith("/")) {
              value += "/";
          }
          if (!value.startsWith("/")) {
              value = "/" + value;
          }
          return value;
      }
docs: Returns the category repositories base folder name.<p>
  
  @param cms the cms context
  
  @return the category repositories base folder name