packlist: fix crash on empty input

Created by  fogti  on September 20, 2021
NAZOIBERE343KHGKHEAQ6DNQFVDWCA7TPAHUR6TCJB5BRHTQPE3QC
Change contents