Fix radtest to work when the local hostname is not resolvable