Fixes issue #41: Check if an XID has been found before to try to use the detected devise