Add return code checks of 'git clone' in jenkins build scripts