Fixed the GitWrapper unit test after the latest refactoring