In case the component needs versioning for the package version, e.g. asio, the tag needs to be adjusted.
If the merged PR is a few commits behind master, the merge commit could show changes in the version files as well. This fix checks if the version already exists and updates the envirionment only if the tag is not present.