tg-revert.sh: try to tame rev-parse --symbolic-full-ref