Interesting. I now see that the dryer outlet had a neutral and ground tied together. Very odd.
Anyhoo, yes, if seems a simple dryer cord extension would have worked, however, I'd prefer a proper wiring job.
It would be a simple matter to use a 30 amp outlet (NEMA 14-30) to alleviate...