(core): xml check fails if module does not have two directories
Summary
If a module has the following hierarchy, sheldon fails to detect the module name.
modules->ui->Services
Steps to reproduce
Add a service in xml that follows the template above. Sheldon will show an error like the one in the log section.
Relevant logs and/or screenshots