t5004: fix issue with empty archive test and bsdtar