engine: Fixed version check issue

Change-Id: I0bc95eed3fd8258a431b549e4be7fae77c1ffe8e
Signed-off-by: Dhandapani <dgopal@redhat.com>