Fix traceback with write_dasd_conf. (#1072911)

The list of disks was compared to the wrong data type, so the
conditional was never true, which led non-s390x systems to attempt to
write a dasd.conf.

Resolves: rhbz#1072911