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

Fixes #1455.