get tarball path correctly