I reckon you've found it.

Can't read the colour codes on the diagram (blurred) but I bet they link up with the relay somehow. If you can find a sidestand switch in our "parting out" section (for the right price) I hope you're tempted to fit it - if only for safety's sake. I've been riding for fifty years, and I'd have still ridden off with the sidestand down, occasionally, if it weren't for the safety switch cutting the engine.