Looks like I was following the examples in nodegit a little too closely :)
Merge pull request #7 from alphagov/bugfix/config

Looks like I was following the examples in nodegit a little too closely!