Rebase fails with "Something went wrong. Please try again."
### Summary
I have a merge request that I want to merge. Whenever I click "Rebase" or "Rebase without pipeline", I get the error "Something went wrong. Please try again."
### Steps to reproduce
1. Create repo `xxx` with main branch `xxx/master`
2. Create branch `xxx/abc` from `xxx/master`
3. Commit anything to branch `xxx/abc`
4. Create fork `zzz` from `xxx`
5. Commit anything to `zzz/master`
6. Open merge request from `zzz/master` to `xxx/master`
7. Change merge request target to `xxx/abc`
8. Try to rebase
### Example Project
https://gitlab.com/zehkira/myuzi/-/merge_requests/26
### What is the current *bug* behavior?
The message "Something went wrong. Please try again." pops up.
### What is the expected *correct* behavior?
The rebase succeeds.
### Relevant logs and/or screenshots



### Output of checks
<!-- If you are reporting a bug on GitLab.com, uncomment below -->
This bug happens on GitLab.com
issue