Removing the custom parser and just depending on the default Git plugin instead.
Just using "^" instead of "^1". It seems like it works in more situations.