erofs-utils: lib: tar: allow pax headers with empty names
Usually, `exthdr.name`s are set as "%d/PaxHeaders.%p/%f" [1].
However, since both `GNU tar` and `bsdtar` can process empty
`exthdr.name`s, let's allow them too.
[1] https://pubs.opengroup.org/onlinepubs/
9699919799/utilities/pax.html
Reported-by: Colin Walters <walters@verbum.org>
Fixes: 95d315fd7958 ("erofs-utils: introduce tarerofs")
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Link: https://lore.kernel.org/r/20240909093354.1712460-1-hsiangkao@linux.alibaba.com