Fix possible crash in the generic project
Fix possible crash in the generic project

Make sure we have a RunConfiguration after importing a project from
earlier versions of creator.

Tasknumber: QTCREATORBUG-1277

kuba1/qtcreator,farseerri/git_code,richardmg/qtcreator,maui-packages/qt-creator,AltarBeastiful/qt-creator,hdweiss/qt-creator-visualizer,yinyunqiao/qtcreator,colede/qtcreator,renatofilho/QtCreator,KDE/android-qt-creator,duythanhphan/qt-creator,sandsmark/qtcreator-minimap,duythanhphan/qt-creator,omniacreator/qtcreator,xianian/qt-creator,dmik/qt-creator-os2,farseerri/git_code,duythanhphan/qt-creator,azat/qtcreator,dmik/qt-creator-os2,martyone/sailfish-qtcreator,danimo/qt-creator,KDE/android-qt-creator,renatofilho/QtCreator,ostash/qt-creator-i18n-uk,xianian/qt-creator,KDE/android-qt-creator,darksylinc/qt-creator,pcacjr/qt-creator,malikcjm/qtcreator,syntheticpp/qt-creator,syntheticpp/qt-creator,dmik/qt-creator-os2,kuba1/qtcreator,amyvmiwei/qt-creator,farseerri/git_code,colede/qtcreator,KDAB/KDAB-Creator,colede/qtcreator,martyone/sailfish-qtcreator,AltarBeastiful/qt-creator,danimo/qt-creator,KDAB/KDAB-Creator,duythanhphan/qt-creator,jonnor/qt-creator,richardmg/qtcreator,malikcjm/qtcreator,maui-packages/qt-creator,darksylinc/qt-creator,xianian/qt-creator,richardmg/qtcreator,ostash/qt-creator-i18n-uk,maui-packages/qt-creator,yinyunqiao/qtcreator,amyvmiwei/qt-creator,KDAB/KDAB-Creator,AltarBeastiful/qt-creator,hdweiss/qt-creator-visualizer,colede/qtcreator,AltarBeastiful/qt-creator,richardmg/qtcreator,richardmg/qtcreator,farseerri/git_code,omniacreator/qtcreator,darksylinc/qt-creator,martyone/sailfish-qtcreator,colede/qtcreator,kuba1/qtcreator,martyone/sailfish-qtcreator,pcacjr/qt-creator,danimo/qt-creator,omniacreator/qtcreator,bakaiadam/collaborative_qt_creator,AltarBeastiful/qt-creator,amyvmiwei/qt-creator,AltarBeastiful/qt-creator,yinyunqiao/qtcreator,maui-packages/qt-creator,syntheticpp/qt-creator,farseerri/git_code,kuba1/qtcreator,martyone/sailfish-qtcreator,KDE/android-qt-creator,omniacreator/qtcreator,dmik/qt-creator-os2,duythanhphan/qt-creator,bakaiadam/collaborative_qt_creator,darksylinc/qt-creator,syntheticpp/qt-creator,kuba1/qtcreator,ostash/qt-creator-i18n-uk,hdweiss/qt-creator-visualizer,colede/qtcreator,danimo/qt-creator,KDAB/KDAB-Creator,duythanhphan/qt-creator,bakaiadam/collaborative_qt_creator,omniacreator/qtcreator,farseerri/git_code,malikcjm/qtcreator,malikcjm/qtcreator,malikcjm/qtcreator,yinyunqiao/qtcreator,pcacjr/qt-creator,Distrotech/qtcreator,malikcjm/qtcreator,maui-packages/qt-creator,sandsmark/qtcreator-minimap,renatofilho/QtCreator,pcacjr/qt-creator,dmik/qt-creator-os2,dmik/qt-creator-os2,xianian/qt-creator,Distrotech/qtcreator,danimo/qt-creator,omniacreator/qtcreator,KDE/android-qt-creator,martyone/sailfish-qtcreator,KDAB/KDAB-Creator,richardmg/qtcreator,Distrotech/qtcreator,yinyunqiao/qtcreator,Distrotech/qtcreator,martyone/sailfish-qtcreator,Distrotech/qtcreator,kuba1/qtcreator,danimo/qt-creator,KDE/android-qt-creator,amyvmiwei/qt-creator,kuba1/qtcreator,xianian/qt-creator,syntheticpp/qt-creator,bakaiadam/collaborative_qt_creator,renatofilho/QtCreator,bakaiadam/collaborative_qt_creator,danimo/qt-creator,KDE/android-qt-creator,azat/qtcreator,darksylinc/qt-creator,amyvmiwei/qt-creator,bakaiadam/collaborative_qt_creator,maui-packages/qt-creator,bakaiadam/collaborative_qt_creator,amyvmiwei/qt-creator,darksylinc/qt-creator,danimo/qt-creator,darksylinc/qt-creator,renatofilho/QtCreator,farseerri/git_code,azat/qtcreator,azat/qtcreator,farseerri/git_code,xianian/qt-creator,sandsmark/qtcreator-minimap,colede/qtcreator,sandsmark/qtcreator-minimap,darksylinc/qt-creator,danimo/qt-creator,sandsmark/qtcreator-minimap,pcacjr/qt-creator,ostash/qt-creator-i18n-uk,pcacjr/qt-creator,hdweiss/qt-creator-visualizer,syntheticpp/qt-creator,martyone/sailfish-qtcreator,azat/qtcreator,hdweiss/qt-creator-visualizer,xianian/qt-creator,KDAB/KDAB-Creator,richardmg/qtcreator,kuba1/qtcreator,ostash/qt-creator-i18n-uk,jonnor/qt-creator,kuba1/qtcreator,Distrotech/qtcreator,jonnor/qt-creator,omniacreator/qtcreator,yinyunqiao/qtcreator,AltarBeastiful/qt-creator,jonnor/qt-creator,malikcjm/qtcreator,ostash/qt-creator-i18n-uk,maui-packages/qt-creator,yinyunqiao/qtcreator,jonnor/qt-creator,Distrotech/qtcreator,renatofilho/QtCreator,martyone/sailfish-qtcreator,pcacjr/qt-creator,amyvmiwei/qt-creator,syntheticpp/qt-creator,xianian/qt-creator,sandsmark/qtcreator-minimap,xianian/qt-creator,ostash/qt-creator-i18n-uk,AltarBeastiful/qt-creator,dmik/qt-creator-os2,jonnor/qt-creator,azat/qtcreator,amyvmiwei/qt-creator,duythanhphan/qt-creator,KDE/android-qt-creator,hdweiss/qt-creator-visualizer