go-susi: generate_package_list: reduced memory usage and improved robustness