chore(MI/LoopVariable): check whether loop variable is null

- if the loop variable is null a ProcessEngineException will be thrown.

related to CAM-1721
Merge branch 'master' of github.com:camunda/camunda-bpm-platform