libgit2 expects paths as GIT_OPT_SET_SEARCH_PATH and not the files