Added try-catch around LibGit2Sharp innvocations to update index