Print warning for not extended groups without environment set

Part 1 for the changed behaviour for groups which don't have an environment set.