Remove useless check for env variable.