fix path in got_repo_open() error message
diff --git a/lib/repository.c b/lib/repository.c
index 6ea6d7b..20596a1 100644
--- a/lib/repository.c
+++ b/lib/repository.c
@@ -372,7 +372,7 @@ got_repo_open(struct got_repository **repop, const char *path)
path = realpath(abspath, NULL);
if (path == NULL) {
- err = got_error_from_errno2("realpath", path);
+ err = got_error_from_errno2("realpath", abspath);
goto done;
}