Fix possible crash when Bug-ID expression is empty

git-svn-id: http://tortoisesvn.googlecode.com/svn/trunk@26077 4cfb86a4-2c7a-11df-bd14-c1e331e6ceac