get_nodes: fix wrong host getting added

Fixes the bug in ef8ee00f where the add_host: for packstack hosts
added a wrong hostname

Change-Id: I71d4a2cc33b93e56b9492cbb0535c8d593404aa2