Fixed parsing of Git branches when current checkout is not on a branch.
Fixed parsing of Git branches when current checkout is not on a branch.

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