handle exception if vault repo folder changed in commit history.