As `repo.Info.Path` is originally handed over by libgit2, I think it's safe to drop this check