public static String getHost(String registry) {
    return REGISTRY_HOST_MAP.getOrDefault(registry, registry);
  }
Returns the server host name to use for the given registry.

@param registry the name of the registry
@return the registry host
jib-core/src/main/java/com/google/cloud/tools/jib/registry/RegistryAliasGroup.java