Scons: PlatformTools: restore device after search