The fix in a294a46fb9 was not enough. This should finally resolve the problem when a package list ends up empty (most notably due to #if evaluating to false). Sponsored-By: Offensive Security
a294a46fb9