[bootstrap] git installation is more robust