[PATCH 1/5] env: Don't set ready flag if import failed in env_set_default()