fixed bug if there are machines without ip addresses in azure (i.e. suspended vms)

This fixes https://github.com/saltstack/salt/issues/14793 and i think also https://github.com/saltstack/salt/issues/11459