provide a default value for local host name lookups

This provides a better behavior for cases such as aphyr/riemann#233