Disable export to pdf when we don't have message

2 jobs for master in 22 minutes and 40 seconds (queued for 18 minutes and 27 seconds)
Status Name Job ID Coverage
  Build
passed build_clazy_clang_tidy #101029

00:13:24

passed linux kf5-qt5 qt5.15 #101028

00:09:15

10.0%