return immediatly when no device is found

closes: #2200