@Override
	public String toString() {
		String res = org;
		if (Catalog.JBANG_CATALOG_REPO.equals(repo)) {
			res += ("HEAD".equals(ref) ? "" : "/" + repo + "/" + ref);
		} else {
			res += "/" + repo + ("HEAD".equals(ref) ? "" : "/" + ref);
		}
		res += (path.isEmpty() ? "" : "~" + path);
		return res;
	}
Return ImplicitCatalogRef if can be parsed into a git accessible structure.

@param name
@return null if cannot parse it
src/main/java/dev/jbang/catalog/ImplicitCatalogRef.java