Updated to work with changes in format of git status output