fix repos path argument processing in repository_test
diff --git a/regress/repository/repository_test.c b/regress/repository/repository_test.c
index 85c24b2..475cdbc 100644
--- a/regress/repository/repository_test.c
+++ b/regress/repository/repository_test.c
@@ -429,7 +429,7 @@ main(int argc, char *argv[])
if (argc == 0)
repo_path = GOT_REPO_PATH;
else if (argc == 1)
- repo_path = argv[1];
+ repo_path = argv[0];
else {
usage();
return 1;