engine: Use proper getter

Change-Id: I8ee0d357bf0cdbeee9b6362f6bc021af6f735f72
Signed-off-by: Moti Asayag <masayag@redhat.com>