Fix 'Tray of device is not open' error when changing CDROM (bz #2163117) Fix curl API deprecation error