Fixes #6582 Re-add regex to ignore untracked files that were never tracked