Fixed exiting without committing updates (bnc#824289)