Merge fix from master for TRQ-2374: qrun crash on unknown job id.