juju/names refactor part 3

Updates for changes to juju/names package

dependencies.tsv change is not included, need the juju/names PR to land to get the correct commit hash
This part could just be:

_, err := names.ParseTag(tag, kind)
return err == nil