do not crash if a config option is not set
Merge pull request #29 from nmav/crash-fix

Do not crash if an integer config option is not set