Make delete_local_tag work with Tag object or tag name