Fixed issues with imagemin and added missing exclude from autoconfiguration