Fix incompatibility with fabric 1.9.0+

A change contributed by the commit  fabric/fabric@0410f2228788ced3d25130c97e2dac69789f88b2 changes the name `get_hosts` to `get_hosts_and_effective_roles` and returns a tuple instead of a list.