Fix error on initial installing with no config generated