fix unknown environments polluting config keys