trivial fix for get-hosts on 2.0.x