Fix repository update if it was not modified.