[#343347] clean up error messages for missing vars

We should print this to stderr, which is unfortunately cumbersome in python 2.x:
```python
print >> sys.stderr, '* %s' % key
```