Convert some pkg_get to pkg_warnx