wmllint: bugfix "unresolved scenario" check (backported from dev branch)