Fixes: Return correct device type for cd devices without medium
