docs: private String getParentFolder() {
  
          String relativeTo;
          if (isDirectPublish()) {
              relativeTo = CmsResource.getParentFolder(getResourceList().get(0));
          } else {
              relativeTo = getCms().getRequestContext().getSiteRoot() + "/";
          }
          return relativeTo;
      }