Support --tag-head without --tag-upstream