Change osd device status check and provide log info

The previous status check didn't work for me, so I've adjusted it and added a log message so that you can see whether it's being skipped.