Fixed a typo while preparing images (needed for FATE#308539)