SONARPLUGINS-3355 Fix NullPointerException when runmode not provided