Fix protected branches spec
What does this MR do?
Fixes failing spec rspec 13 20
as seen in https://gitlab.com/gitlab-org/gitlab-ee/builds/15543475
Are there points in the code the reviewer needs to double check?
Shouldn't be
Why was this MR needed?
Fixes failing build