fix for semver tags for old versions of npm