Fix extraction of git tar archives

Git created tar archives include a pax_global_header as extended
headers. Some tar versions, including libarchive, extract that header as
regular file.

This change ignores all files and uses the first directory.
Merge branch 'fix-tar-header-file'