Handle tarballs that aren't called name-version.tgz

This can happen when the version is corrected to a proper SemVer 2.0,
especially in cases of older packages with versions like 1.2.3alpha
which should be 1.2.3-alpha
v1.0.3