Get the path where given image is stored in the local registry.
The directory may not exist if the image is not in the local registry.