fix dependency from ngit in test.