fix bugs in disk_image_to_rspec_object(), get_machine_image_details()