General example: run against testrepo.git

Fixes #1455
Merge pull request #1456 from ben/fix-general-example

Fix the general.c example to run against testrepo.git