The $shortMsg value can be an empty string when the bug number is the last thing in the commit log line: e.g. "[email@example.com] 0df3233344 Fixed bug #1234" This variable is not currently used anywhere, so we could probably remove it entirely. But for the moment, let's just fix the Notices being printed.
…d)? (bug)? #NNN"