cli: hosts: fix docker version backwards compat

Helios pre-0.0.28 did not report docker version.
The hosts command thus NPE's on pre-0.0.28 helios
installations.