Updated API usage.

https://github.com/libgit2/libgit2/compare/06d772d...5d91bea
[Configuration] Use snapshot for Get/Find calls.

Thanks @carlosmn.