Git: Add some null protections
Git: Add some null protections

Change-Id: Ia28c70690c6f79499fb8075935ec123b763bcc01
Reviewed-by: Jarek Kobus <021d51876099fe64879cc5072886d1d0ff71e1ac@digia.com>

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