Properly validate version tags for correct SemVer form and remove version format logic from the Repository classes.