Check for NPE on myDevice, in cases where we download a second
devices.xml (devices-1.xml) before we can delete the original
devices.xml to avoid the rename.