fixes #2895 - apply updates to environments on puppet class import