engine: Fix findbug error - possible NPE

FindBug returned this error of possible NPE
though the Dao returns an empty list and not
null.

Change-Id: I73a087ed678f8fffca9aabbb56bf1baacb5a0a44
Signed-off-by: Sahina Bose <sabose@redhat.com>