Avoid traceback for unexpected pkgin/pkg_info output

I'm pretty sure this is the correct fix here for #10981, but I need more information from that report to know for certain.