engine: Fix findbugs errors in GlusterTasksSyncJob

Fixed a redundant null check find bug error

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