Returns the credential name if Format is DockerSourceIdFormat.ProGetDockerRegistry; otherwise throws.
Docker source credential.