Make sure APP_ENV exists.