Fix bad `env` reference.