Allow null branch in GitCommandHelpers.GetFullBranchName

Fix NullReferenceException in GitCommandHelpers.PushCmd overload called by Gerrit plugin.
Merge pull request #2012 from lanfeust69/patch-1

Allow null branch in GitCommandHelpers.GetFullBranchName