Fix escaping issue for single value config items

Previously this was using grep -x to compare the output of git-config to
what is expected.  This starts to fail on items like the match key for
the commentlink section, since that contains a regex.  This changes it
to do a basic string compare using test.
Merge pull request #15 from twc-openstack/master

Fix escaping issue for single value config items