For Travis CI - cleanup and sleep before retrying the cloning job.
Don't read between the lines :)
It has been proven on our CI build that just using 'travis_retry git clone ...' alone will never going to work.
For Travis CI - switch CI build to use OS X build environment.