getEnv() does not work in OSX 10.8.2

following error occured.
```
test> getEnv('HOME')
Fri Mar  8 00:47:10 shell: started program env
sh6956| env: : No such file or directory
Fri Mar  8 00:47:10 TypeError: runMatch("env", "", env_regex) has no properties
```