Fix per-directory exclude handing for "git add"