Remove locals() from cinder client code base

Hacking file now disallows locals() usage.

Change-Id: I5049c718c2706d606c12913ae0b33a0fb3263542
Merge "Remove locals() from cinder client code base"