Fix (engine-cdi): cdi local variables

ScopedAssociation.getVariable() cannot handle local variables

Related to CAM-1806