Use libgit2 for `git ls-files`

One forgotten spot to modify when migrating from the CLI to libgit2