Fixed issue removing too many mkdirs in make_tarball.