fix the git status display

Fixes a regression in displaying scm status in the files view. fix https://github.com/dart-lang/chromedeveditor/issues/2971. @gaurave