Update repo script.
Fix do-wasted for file path change.