diagnostics: fix critical about NULL diagnostics

2 jobs for master in 41 minutes and 16 seconds (queued for 1 second)
Status Job ID Name Coverage
  Test
passed #901075
flatpak
flatpak

00:35:49

 
  Deploy
passed #901076
nightly

00:05:26