Make sure a config object exists.