Guard against unconfigured active engine

Adds a guard against missing active engine configuration.