Added dependency to JGit and removed stupid stuff in test.