SetupCommand: Pass git clone options only if set
Why:
- We define
--clone-depth optionas InputRequired, so if the user doesn't specify a clone depth parameter in setup (which is allowed), then when we call "setup:mediawiki", the clone depth argument is invalid (since it lacks a value).
What:
- Conditionally add
--clone-depthand--clone-with-anonymous-httpsto the options input
Changelog: bugfix
Bug: T338614