replace pkg_version with pkg_info
Merge pull request #270 from Tacahilo/change-check-installed-for-freebsd

[FreeBSD] replace pkg_version with pkg_info, for checking a package installed.