Make "git-prune-script" take all refs into account.