normalize

Docker-like normalization:

  • default registry: docker.io

  • if registry == docker.io and name has no namespace => "library/"

  • default tag: latest (only when digest is absent)