Don't call getenv twice