Fix NPE in hdr_reg(host) warning logger