added error checking so that 'fpgajtag -l' on other ftdi devices doesn't crash