Expand hostname before passing it to NewRegistry()
Expand hostname before passing it to NewRegistry()

Signed-off-by: Daniel Menet <99ef7e9bc5027ed4d6250b3f33657d6d5b28c8e6@sontags.ch>

thaJeztah/distribution,thaJeztah/distribution