Fixed issue #1709: Right click -> assume unchanged is irreversible

Usage of git_index_find() changed since libgit2 11d9f6b30438a141def883b0115f7f764c03e990, return value is no longer the index, a new out value is added as index

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>