It is a switched ground circuit. If the light goes off when you yank the wire, that would indicate that the light is being triggered by the switch. Could be a defective proportioning valve, but more likely it's working correctly to flag a pressure issue (master cylinder, bubble, etc) as also indicated by the occasional pedal creep.