Fix another typo in checkDeviceTableExist