Do not include the default key if it has the wrong protocol

This fixes a regression introduced with 5de2f7ac.
2 jobs for master in 6 minutes and 59 seconds (queued for 47 minutes and 1 second)
Status Name Job ID Coverage
  Build
passed build_clazy_clang_tidy #108058

00:04:42

passed linux kf5-qt5 qt5.15 #108057

00:02:16

38.0%