Updated for changes to git2-rs.