code: protected String getRepositoryName(String repoName) throws RepositoryException
     {
        // To be cloud compliant we need now to ignore the provided repository name (more details in JCR-2138)
        ManageableRepository repo = repositoryService.getCurrentRepository();
        String currentRepositoryName = repo.getConfiguration().getName();
        if (PropertyManager.isDevelopping() && log.isWarnEnabled())
        {
           if (!currentRepositoryName.equals(repoName))
           {
              log.warn("The expected repository was '" + repoName
                 + "' but we will use the current repository instead which is '" + currentRepositoryName + "'");
           }
        }
        return currentRepositoryName;
     }
docs: Gives the name of the repository to access.
  @param repoName the name of the expected repository.
  @return the name of the repository to access.