Gave a better Error Message to invalid SemVer version

Removed getDevTag() and it's tests