run.sh: add checks and clean exit

add check for repo_settings.yml and a clean exit for clean.sh to
execute after run.sh

Change-Id: I386db477bbda2d0b537df23102c2583b4166d434