Clean semver of package version string