Make sure rails env is not set before testing environment name guessing