beefed up the check to see if git installed