Correctly restore empty repositories.

If a project is being restored, but there is no bundle file, the project was
empty when it was backed up.  In this case, just use git init --base to create a
new bare repository.
Merge pull request #8299 from dandric-activevideo/bug8271

Fix for #8271: Correctly restore empty repositories.