Fixed problem when dowloading tarball