improved handling of unset variables

Ignorning the errors using `@` is still thrown to custom handlers
Merge pull request #12 from mattdwen/master

improved handling of unset variables