Fix EGit history handling code to consider IAdaptables