add checking for successful download of the tarball