Avoid errors when creating a new tag by updating it instead.

The command was failing when there was an existing tag with the same name, With my change it says "Updated tag '<tagname>' (was aaaaaaaa)" instead of causing and error.