This reverts commit 0f8743d4d7. JGit is unable to iterate its API. Change-Id: Ie3d6a28e622a5c0cf54768a2299f1c44c0114c19
0f8743d4d7