Fixes infinite loop issue on Windows
Fixes infinite loop issue on Windows

On Windows, `read_config` will never return because going up the directory tree will never result in '/'. This fix adds this logic.
ttscoff/doing,ttscoff/doing,saadatqadri/doing,cacack/doing,ttscoff/doing,vcavallo/doing,saadatqadri/doing,vcavallo/doing,ttscoff/doing,cacack/doing,ttscoff/doing