I used to have this problem. But now I found it fixed.Maybe it's some changes of dulwich that solve it. Could you see whether it will work now?
-- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org