revert modified switch-branch-or-facet.sh