fix issues for new EGit Version (3.0.0)

Hi AlFranzis,
I updated the code to be compatible to the new EGit/JGit Version.