Check only objects and not null/array for the host. Related to #1577
Merge branch 'michel_1577_connect' into next