docs: public String getNameWithoutTag(String optionalRegistry) {
          StringBuilder ret = new StringBuilder();
          if (registry != null || optionalRegistry != null) {
              ret.append(registry != null ? registry : optionalRegistry).append("/");
          }
          ret.append(repository);
          return ret.toString();
      }