Alter sed pattern to match the format coming from github which is different to the version of git tested.
(cherry picked from commit dcab1e9d0f738b6eb263fcb979e381b00c642456)