On my wiring diagram (for a 2005 YBR), the solid blue wire I think you're talking about runs to the neutral switch - it then connects to ground. The wire appears to run to the generator side of the engine, by the front sprocket. Test the switch directly at it's contacts (should ground likely when in neutral), the wire may also be broken at some point between the front and rear of the bike.