ActionView::Template::Error: undefined method `any?' for "[\"github\", \"bitbucket\", \"bitbucket_server\", \"gitlab\", \"fogb...

Sentry Issue: GITLABCOM-FQC

NoMethodError: undefined method `any?' for "[\"github\", \"bitbucket\", \"bitbucket_server\", \"gitlab\", \"fogbugz\", \"git\", \"gitlab_project\", \"gitea\", \"manifest\", \"gitlab_custom_project_template\"]":String
  app/views/projects/new.html.haml:12:
    is_ci_cd_available: remote_mirror_setting_enabled?.to_s,
  app/controllers/application_controller.rb:141:in `render'
    super.tap do
  app/controllers/application_controller.rb:519:in `set_current_admin'
    return yield unless Gitlab::CurrentSettings.admin_mode
  lib/gitlab/session.rb:11:in `with_session'
    yield
  app/controllers/application_controller.rb:510:in `set_session_storage'
    Gitlab::Session.with_session(session, &block)
...
(195 additional frame(s) were not displayed)

ActionView::Template::Error: undefined method `any?' for "[\"github\", \"bitbucket\", \"bitbucket_server\", \"gitlab\", \"fogbugz\", \"git\", \"gitlab_project\", \"gitea\", \"manifest\", \"gitlab_custom_project_template\"]":String