Simplify store-tag's handling of existing tags

It used to signal an error if the caller tried storing a tag that's
already present.
Instead, simply return the UUID of the existing tag.