code: @JsonIgnore
      public String getCuredBranchPath() {
          String trim = StringUtils.trim(branchPath);
          if ("/".equals(trim)) {
              return trim;
          } else {
              return StringUtils.stripEnd(trim, "/");
          }
      }
docs: Returns a path which has been cleaned from its trailing or leading components.