Handle cases when inspect.stack() fails
test inspect.stack failure
localhost666 can resolve under certain circumstances

localhost666 is resolvable if the host running the tests contains a
"search mydomain.com" in /etc/resolv.conf and a wildcard dns entry
exists for *.mydomain.com