[PATCH] scripts/get_default_envs.sh: Update for thin archive support