filter-branch: do not consider diverging submodules a 'dirty worktree'