Fix error condition check on finding correct usb interface.
Merge pull request #168 from r-craig/master

Fix error condition check on finding correct usb interface.