Fixes access to the wiki code with git when repository feature disabled
What does this MR do?
Allow access to the wiki repository with git when the repository feature is disabled.
Why was this MR needed?
Without this fix, if you create a wiki only project you are not allowed to download the wiki code from this project.
Does this MR meet the acceptance criteria?
- Changelog entry added
API support added
- Added for this feature/bug
- All builds are passing
- Conform by the merge request performance guides
- Conform by the style guides
Branch has no merge conflicts with
master(if it does - rebase it please)
- Squashed related commits together
What are the relevant issue numbers?
Fixes #24931 (closed)