Fix: Check envs for true/false

Fixes #1059.

The environments passed to createEnvironmentConfig were not being checked for true/false - thus they were being merged in even if the user config disabled them.
Yeah, a lot of these tests are horrible and probably need to be rewritten as `CLIEngine` tests.