Fixing environment access in RPython

This is a simple copy-paste from https://bitbucket.org/pypy/pypy/commits/9a20d5ede0ec/