install_deps: is_freebsd_port_installed addded

removes duplicated code
DB.t: added zero pad for IPv6, it uses inet_ntop
catch another instance where IPv6 zero pad testing