fix some problems with missing config file

Probably wouldn't happen, but if you do delete the config file with the
setup scripts protected you can now recover and run setup.