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.
*** failed to import extension badext: bit bucket overflowextension 'hgext.gpg' overrides commands: sigs sigcheck signhg help [COMMAND]show help for a command, extension, or list of commands