Fix some unit-tests for the Git backend