If a reference passed to the pull code contains both a tag and a digest, currently the tag is used instead of the digest in the request to the registry. This is the wrong behavior. Change it to favor the digest. Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com> Upstream-commit: 0bff591bb0bc5a11ec22eb4f0b6104a79dea0819 Component: engine