I have fixed Karel's problem just by upgrading imagemin to 0.7.1: https://github.com/lfryc/aerogear-unifiedpush-server/tree/AGPUSH-760-rhel7