Looks safe:

```
>>> from os.path import expandvars
>>> expandvars('my_favorite_nasty$option')
'my_favorite_nasty$option'
```