I'd suggest adding the ISO partition when the disk is imaged rather than when you write out the configdrive.

This script should take two options: dir and the partition to write the configdrive to, IMO. Maybe for now we can still use the ISO_PARTITION bit to determine the configdrive, but I do forsee a time where how we create the partitions is different based on image (aka mbr vs gpt partitions).