Suppress detection error messages during hotplug check.

This code may be revised if a better alternative becomes available.