Fix a bug of package_info_foreach_privilege_info