Use list_for_each_entry_safe when deleting entries in linked lists.
Jump to config area if given packrat image for doing write UI config.