brake problems..(warning light)

Is the wire on the prop. valve the ground right? so if i take that off, and the light turns off, then I know that the prop valve is my problem? or is that incorrecct?