Fix for #8271: Correctly restore empty repositories.
Created by: ghost
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.