Fix typos in config file check