Fix exact tag match check to set the release.version property

With this commit, the `init-version` target should not append a `-DEV`
suffix is the current commit is exactly matching a tag.