The cap most likely is used to snub switching noise from the field collapse of the coil magnetic field. This is sometimes called a fly-back voltage that can be much higher than the 12 volt source. I would think a forward biased power diode would make a more effective snubber. In fact Ford did this on the IAC solenoid and on the AC field clutch. I wouldn't fret over it.