Private GIT
Fix issue when restoring backup from another fork and the current commit object is not known in our repository.