OK, grounded cord will sort you then. The variac won't isolate you from the wall. In stock form these also usually have a cap from one or both sides of the power line to chassis to serve as the "ground". If you don't have that, or if its only on one side and it doesn't happen to be the neutral side, it can tend to be noisier. If you go with a grounded cord you can remove those caps.