show bad ID in "object not found" error from got_repo_match_object_id_prefix()
diff --git a/lib/repository.c b/lib/repository.c
index bd2ded9..82d26fe 100644
--- a/lib/repository.c
+++ b/lib/repository.c
@@ -1325,7 +1325,7 @@ done:
free(*id);
*id = NULL;
} else if (*id == NULL)
- err = got_error(GOT_ERR_NO_OBJ);
+ err = got_error_path(id_str_prefix, GOT_ERR_NO_OBJ);
return err;
}