extra precondition check for the tag command