[PATCH v2 03/12] env: Simplify env_get_default()