mktag.c: tweak validation of tagger field and adjust test script