Added more logic to cleanup the base tarball.