fix 'convert' with single commit repositories
The attached patch passes the three 'convert' testcases, and also is
able to successfully convert the git.git repository.
....................----------------------------------------------------------------------Ran 20 tests in 0.000sOK