All I can say is that I have never seen anything like that in my life. I hope your insurance agent or a fire inspector never pays you a visit. FWIW, that is just plain dangerous and illegal. You cannot use an appliance pigtail to complete a circuit like that.
Please, PLEASE change the circuit to one that is safe and meets code.