git-svn: reduce check_cherry_pick cache overhead