missing refactoring call to hosts.get

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>