You should delete the system partition. This is expected results for a machine to boot from the system partition if there has been changes made. If you have an Enterprise imaging solution there is no need to keep the system partition...
Dell's don't use a system or restore partition, it is a diagnostic partition that can be used to run hardware tests.
Somewhere in the script should be a command that marks the partition as active and it's probaby assuming the first parition (the Dell diag) should be active.
Thanks guys. I'll take a closer look at the script.