An active swap partition can prevent the creation of new partitions.
Fixed an variable error when unmounting in auto_partition