[PATCH 08/32] env: Avoid checking ENV_IS_IN when env disabled