Patch Set 1:

Tested class GitResourceVariantTree never uses getByteStore() from ResourceVariantTree therefore the null value can be passed here.

If in feature GitResourceVariantTree will use byte store from parent class we will get here NPE, as you mentioned, but then this test should be fixed.