If the merge request can be rebased based on the history of the commits, users attempting to view the merge request would hit an Error 500. This occurred because user_can_push_to_source_branch?
would be called on a non-existent project.
Closes gitlab-org/gitlab-ce#33011