I do not see a ground conductor or a PVC conduit enclosing the ground conductor to a point not less than 4" from the bottom of the meter base. The exposed bare conductor provides an access point to the grounding conductor for the other utilities (telephone, cable, satellite, etc.) to bond into the buildings ground system. The idea is to prevent ground loops and maintain the equipotential ground plane for all equipment within the building that receives its power from the building electrical system.
There is NO violation in the picture. It was a simple experiment. But I must disagree on the dryer "whats wrong pic". Without being physically able to trace out that green wire, there is no way anyone could have known it was connected to the neutral using only the picture for reference. It would only be possible if you had to connect one like that before. That green wire could have landed anywhere on the frame of the dryer. In particular the control stand on top that is always bonded to the bottom section.
If it worked before you worked on it. You did something wrong.