Fixed the detection of missing config file