Fix NPE on nonexisting config folder