archive: don't add empty directories to archives