Merge "Fix cloning requirements when GIT_DEPTH is set"