fixed the grep for testing git working directory clean. In the new
version the text is (working directory clean) with parens.