Unknown DN attributes are perfectly fine
In particular, we use the placeholder attribute "_X_" which always
caused a warning when displaying the details of an S/MIME certificate.
This change also avoids a duplicate lookup of the key.
(cherry picked from commit e8602f3963fa4508d65247460cec1f61db4bbc90)