Improve git log parsing, fixes #17