Give explicit path to pkg_info in chk_pkg function.