repo::open: ensure we can open the repository Update the test cases to check the `git_repository_open` return code.