Restore the original applied patches during 'commit'