BZ1038044: Guided rule editor validate-button shows an uncontrolled error screen if the kmodule.xml has errors
(cherry picked from commit bccd7a01dd8e8dab6921d812ce76be175dc7cb33)