Fix issue with generating new config file resulting in
NullPointerException. Fixes #11