Fix Bug 968947 - Use --depth option when cloning repositories