Fixed compilation warning due to not checking if an std::optional properly

112 jobs for !713 with sponce_fixCompilWarning in 89 minutes and 52 seconds (queued for 13 seconds)
latest merge request