Error 500 when creating a project: CreateService returns a `nil` object
Related to https://gitlab.com/gitlab-com/support-forum/issues/2401
https://sentry.gitlap.com/gitlab/gitlabcom/issues/41482/
NoMethodError: undefined method `saved?' for nil:NilClass
app/controllers/projects_controller.rb:33:in `create'
if @project.saved?
lib/gitlab/i18n.rb:46:in `with_locale'
yield
lib/gitlab/i18n.rb:52:in `with_user_locale'
with_locale(user&.preferred_language, &block)
app/controllers/application_controller.rb:334:in `set_locale'
Gitlab::I18n.with_user_locale(current_user, &block)
lib/gitlab/middleware/multipart.rb:93:in `call'
return @app.call(env) if encoded_message.blank?
...
(113 additional frame(s) were not displayed)
NoMethodError: undefined method `saved?' for nil:NilClass