Ardupilot: Fixing a bug that blocked the upload of missions