Sheesh! Everybody's missing the obvious answer to the problem! Just make sure that you mark the end of each wire with some green tape.
The electrons arriving at the end will see the green markings, know that it means a ground connection and that they shouldn't flow along green wires under normal circumstances, and they'll stop before they fall out of the end and make a mess!