Late to the debate, but it must be remembered some electrical equipment can retain a charge after being switched off. Water & foam extinguishers in the main are not marked as suitable for electrical fires (with one or two smaller manufacturers being an exception) and thus you are going out on a limb if you use them against manufacturers guidance. In an emergency it's not always possible to be sure you've isolated the power & not always easy to do without risking putting the fire between you & the exit, or by talking to long (& plunging the place into darkness or EL levels only) by going to the main consumer unit.
Someone obviously messed up as what's the point in having water and foam together as you are duplicating cover. Where there is a live electrical risk you need, if you are going to tackle it, an extinguisher marked as fit for the risk, i.e. the lightning flash symbol, should be supplied. After all we are not splitting hairs over what's more effective, we are talking a mortal risk here that has been recognised in extinguisher design since the 1900's.
For safety's sake go with a non-conductive agent.
On a historical note in the 40's & 50's Nu Swifts Universal (Royal Navy) Extinguisher with a jet/spray nozzle was sold as safe up to 500V and British Rail replaced Halon with Foam (although that has been overturned since in most of their former & remaining properties with CO2 being added)