lib-t6000.sh: write tag using git-update-ref