Add C function git2r_repository_discover to callMethods