fix feach_tarball return code