engine: Removing useless null check

The following check is useless, but causing for failure of find bugs

Change-Id: Ia0e5ba1b9bc0484edafe9a5a88f6f5b599e3202f
Signed-off-by: Michael Kublin <mkublin@redhat.com>