Fix git versions finding