I don't see a diode on my schematic. It looks like either switch closed would turn on the light, so it must just be your hand brake switch or it's connections that are bad.

By the way, I always set my parking brake fully (I don't keep it in gear). So if I forgot the brake my car would stall since my parking brakes hold very good.