Fixes #7777 (But don't rewrite the tar invocation in is_unarchived(), since a tar that supports "--diff" certainly supports "-C" as well).