Simplify regular expression of git config removal
Since we examine the 'eval' statement line by line I believe we can relax the regular expression and avoid potential cases where the first iteration would have failed if specific runner feature flags are enabled.