Fix bugs after testing path in which no config file is supplied