looks like just a protective cap over a plug that is not used for that application.
OOOOO does it have three wires?
there is a unused plug under Harleys that is used on international bikes for a interlock switch on the jiffy stand that is not on domestic bikes.