Fixed fs.existsSync error when searching for initial config