bulk: Fix creating pkg repo.txz if the package dir is a symlink