get_nodes: only add nics in nodes.net_interfaces

When the tenant has more nic than what is specified in
nodes.net_interfaces, setting the nic to ip would fail obviously.
The change ensures that only those nic for which the address is
assigned is added.

Change-Id: I695e5aae72fe298e8c8fc3ca71c011c37ed72d5b