Fix Undefined Name Exception in Comprehensions and Generators

See: https://bugs.launchpad.net/pyflakes/+bug/1324942