fix import ping function used when pushing an image