calmar on IRC reported a bug today where notmuch will abort when it encounters a broken symlink, even if that symlink is in the user-specified ignore list. These two patches test for this bug and fix it.