Fix a bug in create_disk_xml function.