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

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