Inverting the hash of driver_mac_addresses returned by machine.provider.capability(:nic_mac_addresses).

The previous code expected the hash to use the mac addresses as the keys, the original code had the indices as the keys.