Dummy fix for host2ip segfault issue.

DO NOT MERGE!!!

Close #4068. Added acceptance test.