fix issues with imagemin:0.2.0 on RHEL7 AGPUSH-760

partially resolves https://issues.jboss.org/browse/AGPUSH-760