inventory: fix bad handling of virtual nic (break machines with only physicals)