[DROOLS-155] fix wrong import throwing a NPE
(cherry picked from commit 59a8c25e18ef6b87187e60883a5647ec55fcc152)