fix test.py in the presence of PERU env vars
fix test.py in the presence of PERU env vars

I had never tested this. It failed with a "dictionary modified during
iteration" error.

oconnor663/peru,buildinspace/peru,olson-sean-k/peru,oconnor663/peru,buildinspace/peru,olson-sean-k/peru