added a meaningful warning if getScenarioElement returns null
Authored by: vsp_nagel 2013-02-04
Parent: [r22878]
Child: [r22880]