system-test: only run non-local stats test if hostname is set
system-test: pull non-local ip from ifconfig
only makes sense on localhost