Of course you could use a spray repellant for the ignition parts.

How about a flat black, curved shield mounted to the underside of the hood, but slightly below the hood, that would allow air flow, but divert any water to the outside rear corners of the engine compartment?