ev3.py: update motor path

Use the new motor path and detect the connected motor.