fix null pointer deref in host.c
shut up scan-build