Classic JGit.

Oh well. Thanks for taking the time to look into this. I've reverted the assert to the old one. :)