Fix dmesg printing in the case that no device attaches.
Fix dmesg printing in the case that no device attaches.

ok miod@, deraadt@

orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars