Fix support for old packages

Old packages have name@version in the tarball name instead of name-version. Fixes #75