[bug] fix for when pure-python implementation of zope.proxy is in use

(e.g. pypy)