Fixed site_entity not being assigned a value because site_logic was not defined.
Fixed site_entity not being assigned a value because site_logic was not defined.

Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed

MatthewWilkes/mw4068-packaging,MatthewWilkes/mw4068-packaging,MatthewWilkes/mw4068-packaging,MatthewWilkes/mw4068-packaging