Check if config file actually exists

[#17575] [gantree] allow config through .gantree.cfg