Fix error with production config

- Change unless condition to just see which ENV the program is run in as a string