Yes, absolutely; that is not to code here in the US. The entire point of the 4-wire pigtail is to keep GND and N separate. Doing this makes the GND a current-carrying conductor. BIG no-no!
mnem
Tell me what you think, this is how they installed it:
so I removed the yellow/green from the neutral white but...
the freaking yellow/green is looping back to the neutral white on the top
But... but... but... Okay...
that yellow/green GND pigtail is supposed to be removed when you install the 4-wire cord on the dryer. The
GND wire on the dryer cord is supposed to go under the green screw in the body of the dryer;
this is supposed to be required by code. He probably did that to keep the yellow/green pigtail from being lost in case a future owner needs to install a 3-wire cord...
Technically I suppose it doesn't matter, really... except it fails
"the rule of least surprise/alarm" test I believe I've heard you mention before; it is definitely alarming at first glance
and as described in random conversation.
In your case, I'd put it under the white screw (you can loop it in a knot to keep it out of trouble or just let it lay flat down the back of the dryer) that you have the GND wire from the dryer cord under.
Also, as none of those terminals have proper strain reliefs, I'd probably at least add a couple layers of heat-shrink to slow down the inevitable process of wire insulation creep. I've seen ones like that in service for a few years with 10-15mm bare wire hanging out the end of the terminal.
But
first, do a reality-check on those crimps to make sure they're tight-tight; I've seen some really horrible cheap ones where
you could literally wiggle the wire out of the crimps on a brand-new cord.
And now I think of it, they
all looked just like that one.
mnem
eeep!