Fix iterator loop in findDevice()

findDevice() doesn't iterate through available USB devices due to an if.
simple oversight/typo