code: @CheckForNull
    private String loadProjectUuidOfMainBranch() {
      if (!analysisMetadataHolder.getBranch().isMain()) {
        return analysisMetadataHolder.getProject().getUuid();
      }
      return null;
    }
docs: See {@link ComponentDto#mainBranchProjectUuid} : value is null on main branches, otherwise it is
  the uuid of the main branch.