git-filter-branch.sh: Allow running in bare repositories