code: private static String normalizePath(String path)
    {
      path = PathUtils.removeTrailingSlash(path);
      path = PathUtils.addLeadingSlash(path);
      return path;
    }
docs: The path never represents a directory => should not end with /