Fix env.hosts set-up

Signed-off-by: David Winterbottom <david.winterbottom@gmail.com>