Fix parsing of directory names in git status --porcelain output