Fixed bug in parsing git status