Remove get_tag func, and put out strings to stdout for test.
add head
Fixes many post-merge.py bugs.
[test]: add tag
Fixes many bugs