PIM-2101 Prevent exception when product media is removed on the server