Fix get_package_info.