Reset local modifications before preparing release.