improve KieCommands API
(cherry picked from commit 572962467141ecd17f84be1b2fd5e40725a368e0)