Patch Set 6:

As you can see I've split GitResourceVariantTreeSubscriberTest into 3 separate classe:
* GitResourceVariantTreeSubscriberTest
* GitResourceVariantTreeSubscriberTest1
* GitResourceVariantTreeSubscriberTest2

And now only shouldReturnSrcBranchAsBase from GitResourceVariantTreeSubscriberTest1 fails sometimes. I don't really get why it such behavior occurs :|