Fix dulwich dependencies