Adapt to different git output formats, but correctly this time

Signed-off-by: Dan Hunsaker <danhunsaker@gmail.com>