On system without pkg(8) installed, command -v pkg will return success
and falsely report pkg(8) is present. Fix that by checking via pkg -N
form.
This is missed from final revision of D39695.
Reported by: delphij
Fixes: bc0c6c9cf3a9 freebsd-update: Add check for kernel modules