How about just returning ip"127.0.0.1" if no external interfaces are found? Why does `getipaddr()`  only have to detect external interfaces?