updated handling of gradle-git plugin