Build: Use `patter[n]` rather than `pattern*` with `git rev-list`