engine: fix findbug warning in ResourceManager

- Findbugs is reporting a warning in ResourceManager this
  patch fixes the warning.

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