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.
marked working directory as branch abranchapplying patch from stdinapplying patch from stdinapplying patch from stdinapplying patch from stdin