Fix a couple issues in bin/tag.