NULL host is suspicious, but code allows it.

Coverity CID 30257.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>