Simplify logic for restarting CPython and RMIRuby when candidate command is changed.
Signed-off-by: Dmitriy Pavlenko <dmitriy.pavlenko@sysgears.com>