Ignore untracked files when checking for dirty.