Changing owner of out folder so jenkins can clean-up workspace on the next build
Enable bash -ex for verbose running of regen_repository.sh script
Fixed paths in regen_repository.sh script