Purge should be done before the clean
rolling back the specific pull.
Ensuring the purge execution even when the update has failed