Fixed a wrong call to KExternalErrors::dieError()

PLAT-1109 #time 5m