[TIMOB-15840] Fixed error when the tiapp.xml does not contain a <modules> tag.
Merge pull request #5049 from cb1kenobi/timob-15840

[TIMOB-15840] Fixed error when the tiapp.xml does not contain a <modules> tag.