Makes _scripts/publish resist uncommitted changes.