Do not include the default key if it has the wrong protocol
This fixes a regression introduced with 5de2f7ac.