If you follow that single wire upwards, there should be a plug which you can undo...
if the light goes out when you unplug it, you know the problem lies between the plug and the sensor in the motor.
if the light stays on when the wire is unplugged, there is more than likely a short to ground somewhere after the plug.