fixed parse error

replaced test to see if git correctly installed to work with all distribution gnu/linux