Fix git log parsing for commits without stat info

Git log may contain commits that do not have any diff stats.
This patch fixes the parses to accept such commits

Change-Id: Iec1dc6e53ff882a8a1379a70160ffa90c9a8dc47
Merge "Fix git log parsing for commits without stat info"