Fix host selection variable

Switching to hostname allows this to work in the vagrant cluster as well as a real inventory.
Want this merged?