Handle changed NameError wording in Python 3.4

Should fix https://travis-ci.org/buildout/buildout/jobs/39918144