Fixing the image path to only add the hostname as necessary.