You suggested in another message to just add an error message as second element in the result that `get_markup_filter()` returns instead of returning `(None, None)`, so I can reduce this code and get rid of the tests in `depcheck`.

If I do that then I can just adjust the messages in `get_markup_filter()` in order to reduce its length, and then use those messages directly.