[TIMOB-17713] Check if sourceApplication is null
Merge pull request #6111 from pec1985/timob-17713-3_4_X

[TIMOB-17713] (3.4.x) Check if sourceApplication is null