EZP-21213: Made sure published image is stored once