engine: findbugs warning

- Fixed 'unusual equals' findbug warning
- Fixed 'comparing string with '='' warning.

Change-Id: I25f0be9e319aec078fadabfa426d1e4b7c170493
Signed-off-by: Alexander Wels <awels@redhat.com>