Fixed shell switch to local on failed ping