Fix reading RACK_ENV properly. Fixes #234