[BUGFIX] Allow some kind of hostname to be used when networking problems prevent full lookup

Fixes #353