Fix crash in knewstuff3 when config file is not found. Thanks to Tautvydas Andrikys for the bug and fix. (cherry picked from commit 592178a8)