install_deps: check for presense of pkg_info

before calling it (doesn't exist on FreeBSD 10+)