Fixed an error thrown when `retrieve_pkg_info` fails.