Fix bug that crashed prompt when a non-branch was checked out
When counting untracked files, don't recurse into untracked directories. This brings the number of untracked files into sync with git-status