Only copy production environment config when using grunt dist

This fixes the configuration when using grunt dist.

Because it's the dist task it assumes that the production configuration is required. Not sure if this is correct though?