support --dry-run for 'tags canonicalize'