Fix nested tarball import

See issue #298