code: protected String getTargetPath(Node node) throws RepositoryException {
          String path = node.getPath();
          return "/".equals(path) ? null : path;
      }
docs: returns 'null' if the target node traversal should ends (extension hook)