EZP-21949: Fixed ImageMagick related fails on Travis