Support of dulwich >= 0.9.5