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.