uml: Fix rule which disables relative-paths test on UML.

This fixes commit e22bd2dcd26ffe822a68c23852bbafe4767d98f0.
Version 1.25.23.