Added missing exception code when curl is not installed.