Fix check for resolved signing keys
This makes sure that AllResolved is returned only if signing keys have been found for the required protocols.