Fix multivar interface.

Libgit2 has new inferface.