[PATCH v3 31/81] env: Avoid checking ENV_IS_IN when env disabled