Fix possible crash when Bug-ID expression is empty

Based on TortoiseSVN revision 26077

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>
Fixed issue #2362: git.exe get stuck on Win XP

Make sure STARTUPINFO structures are initialized

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>