Environment variable not being detected correctly 

The default config file has production_environment to be an empty string, when only null was being checked for in the detection function (it says to use null *or* empty string to trigger environment auto-detect).