Fixed matching of git status for older versions of git.