Prevent endless loop if a project with dependencies couldn't be loaded.
Prevent endless loop if a project with dependencies couldn't be loaded.

Task-number: QTCREATORBUG-8085

Change-Id: I6e09c871cba02360eb93c11b5650683eba652ed0
Reviewed-by: Daniel Teske <d8a411aec9a206efedb4d45b75fe8d13f1e2b628@digia.com>

danimo/qt-creator,darksylinc/qt-creator,richardmg/qtcreator,colede/qtcreator,duythanhphan/qt-creator,kuba1/qtcreator,kuba1/qtcreator,duythanhphan/qt-creator,syntheticpp/qt-creator,amyvmiwei/qt-creator,Distrotech/qtcreator,xianian/qt-creator,AltarBeastiful/qt-creator,maui-packages/qt-creator,martyone/sailfish-qtcreator,maui-packages/qt-creator,AltarBeastiful/qt-creator,martyone/sailfish-qtcreator,omniacreator/qtcreator,malikcjm/qtcreator,danimo/qt-creator,darksylinc/qt-creator,amyvmiwei/qt-creator,syntheticpp/qt-creator,malikcjm/qtcreator,syntheticpp/qt-creator,Distrotech/qtcreator,malikcjm/qtcreator,martyone/sailfish-qtcreator,maui-packages/qt-creator,kuba1/qtcreator,darksylinc/qt-creator,duythanhphan/qt-creator,AltarBeastiful/qt-creator,richardmg/qtcreator,AltarBeastiful/qt-creator,omniacreator/qtcreator,kuba1/qtcreator,maui-packages/qt-creator,richardmg/qtcreator,danimo/qt-creator,danimo/qt-creator,kuba1/qtcreator,duythanhphan/qt-creator,martyone/sailfish-qtcreator,AltarBeastiful/qt-creator,duythanhphan/qt-creator,malikcjm/qtcreator,malikcjm/qtcreator,kuba1/qtcreator,maui-packages/qt-creator,malikcjm/qtcreator,darksylinc/qt-creator,xianian/qt-creator,farseerri/git_code,omniacreator/qtcreator,amyvmiwei/qt-creator,amyvmiwei/qt-creator,martyone/sailfish-qtcreator,farseerri/git_code,richardmg/qtcreator,syntheticpp/qt-creator,malikcjm/qtcreator,martyone/sailfish-qtcreator,Distrotech/qtcreator,xianian/qt-creator,darksylinc/qt-creator,xianian/qt-creator,colede/qtcreator,farseerri/git_code,kuba1/qtcreator,richardmg/qtcreator,colede/qtcreator,syntheticpp/qt-creator,danimo/qt-creator,darksylinc/qt-creator,syntheticpp/qt-creator,farseerri/git_code,omniacreator/qtcreator,danimo/qt-creator,omniacreator/qtcreator,AltarBeastiful/qt-creator,omniacreator/qtcreator,darksylinc/qt-creator,darksylinc/qt-creator,Distrotech/qtcreator,danimo/qt-creator,colede/qtcreator,colede/qtcreator,duythanhphan/qt-creator,Distrotech/qtcreator,amyvmiwei/qt-creator,farseerri/git_code,maui-packages/qt-creator,danimo/qt-creator,AltarBeastiful/qt-creator,duythanhphan/qt-creator,omniacreator/qtcreator,kuba1/qtcreator,kuba1/qtcreator,AltarBeastiful/qt-creator,amyvmiwei/qt-creator,Distrotech/qtcreator,martyone/sailfish-qtcreator,colede/qtcreator,amyvmiwei/qt-creator,danimo/qt-creator,xianian/qt-creator,richardmg/qtcreator,farseerri/git_code,syntheticpp/qt-creator,colede/qtcreator,farseerri/git_code,farseerri/git_code,xianian/qt-creator,richardmg/qtcreator,maui-packages/qt-creator,martyone/sailfish-qtcreator,xianian/qt-creator,xianian/qt-creator,martyone/sailfish-qtcreator,amyvmiwei/qt-creator,xianian/qt-creator,Distrotech/qtcreator