Fix Error 500 when forking projects with Gravatar disabled

When Gravatar is disabled, the "no avatar" is used, which failed
to revert to the colorful identity icons for namespaces.

Closes #50254
93 jobs for sh-fix-forks-with-no-gravatar in 36 minutes and 17 seconds (queued for 37 seconds)
Status Job ID Name Coverage
  Build
manual #102650871
gitlab-org allowed to fail manual
review-docs-deploy-manual
 
  Prepare
passed #102650881
gitlab-org
compile-assets

00:08:20

passed #102650878
gitlab-org
retrieve-tests-metadata

00:00:30

passed #102650885
gitlab-org
setup-test-env

00:06:13

 
  Test
passed #102651180
allowed to fail
code_quality

00:08:39

passed #102650890
allowed to fail
danger-review

00:01:00

passed #102651171
gitlab-org
db:check-schema-pg

00:03:00

passed #102651119
gitlab-org
db:migrate:reset-mysql

00:05:46

passed #102651118
gitlab-org
db:migrate:reset-pg

00:03:18

passed #102651175
gitlab-org
db:rollback-mysql

00:05:09

passed #102651174
gitlab-org
db:rollback-pg

00:03:15

passed #102651184
allowed to fail
dependency_scanning

00:04:21

passed #102651114
gitlab-org
docs lint

00:00:44

passed #102651115
gitlab-org
downtime_check

00:02:17

passed #102651117
gitlab-org
ee_compat_check

00:03:42

passed #102651178
gitlab-org
gitlab:assets:compile

00:12:57

passed #102651177
gitlab-org
gitlab:setup-mysql

00:05:46

passed #102651176
gitlab-org
gitlab:setup-pg

00:04:40

passed #102651187
gitlab-org
gitlab_git_test

00:00:52

passed #102651179
gitlab-org
karma

00:10:35

57.86%
passed #102651173
gitlab-org
migration:path-mysql

00:13:13

passed #102651172
gitlab-org
migration:path-pg

00:11:23

passed #102651188
gitlab-org
no_ee_check

00:00:54

manual #102650888
allowed to fail manual
package-and-qa
passed #102651185
gitlab-org
qa:internal

00:03:19

passed #102651186
gitlab-org
qa:selectors

00:03:16

passed #102651116
gitlab-org
rails5_gemfile_lock_check

00:02:19

passed #102651043
gitlab-org
rspec-mysql 0 30

00:13:37

passed #102651044
gitlab-org
rspec-mysql 1 30

00:17:15

passed #102651056
gitlab-org
rspec-mysql 10 30

00:15:27

passed #102651057
gitlab-org
rspec-mysql 11 30

00:17:33

passed #102651058
gitlab-org
rspec-mysql 12 30

00:20:30

passed #102651059
gitlab-org
rspec-mysql 13 30

00:19:29

passed #102651060
gitlab-org
rspec-mysql 14 30

00:20:45

passed #102651061
gitlab-org
rspec-mysql 15 30

00:19:52

passed #102651063
gitlab-org
rspec-mysql 16 30

00:20:44

passed #102651064
gitlab-org
rspec-mysql 17 30

00:19:25

passed #102651065
gitlab-org
rspec-mysql 18 30

00:18:48

passed #102651066
gitlab-org
rspec-mysql 19 30

00:19:01

passed #102651045
gitlab-org
rspec-mysql 2 30

00:17:14

passed #102651067
gitlab-org
rspec-mysql 20 30

00:24:08

passed #102651068
gitlab-org
rspec-mysql 21 30

00:19:17

passed #102651069
gitlab-org
rspec-mysql 22 30

00:19:57

passed #102651070
gitlab-org
rspec-mysql 23 30

00:16:41

passed #102651071
gitlab-org
rspec-mysql 24 30

00:19:51

passed #102651074
gitlab-org
rspec-mysql 25 30

00:21:40

passed #102651075
gitlab-org
rspec-mysql 26 30

00:17:01

passed #102651076
gitlab-org
rspec-mysql 27 30

00:19:15

passed #102651077
gitlab-org
rspec-mysql 28 30

00:23:42

passed #102651112
gitlab-org
rspec-mysql 29 30

00:17:58

passed #102651046
gitlab-org
rspec-mysql 3 30

00:16:37

passed #102651047
gitlab-org
rspec-mysql 4 30

00:17:18

passed #102651048
gitlab-org
rspec-mysql 5 30

00:20:45

passed #102651050
gitlab-org
rspec-mysql 6 30

00:17:34

passed #102651052
gitlab-org
rspec-mysql 7 30

00:20:36

passed #102651054
gitlab-org
rspec-mysql 8 30

00:17:17

passed #102651055
gitlab-org
rspec-mysql 9 30

00:19:25

passed #102650893
gitlab-org
rspec-pg 0 30

00:15:14

passed #102650896
gitlab-org
rspec-pg 1 30

00:16:48

passed #102651023
gitlab-org
rspec-pg 10 30

00:15:41

passed #102651024
gitlab-org
rspec-pg 11 30

00:15:32

passed #102651025
gitlab-org
rspec-pg 12 30

00:15:24

passed #102651026
gitlab-org
rspec-pg 13 30

00:18:41

passed #102651027
gitlab-org
rspec-pg 14 30

00:17:21

passed #102651028
gitlab-org
rspec-pg 15 30

00:19:49

passed #102651029
gitlab-org
rspec-pg 16 30

00:17:44

passed #102651030
gitlab-org
rspec-pg 17 30

00:18:15

passed #102651031
gitlab-org
rspec-pg 18 30

00:16:55

passed #102651032
gitlab-org
rspec-pg 19 30

00:19:25

passed #102650900
gitlab-org
rspec-pg 2 30

00:17:35

passed #102651033
gitlab-org
rspec-pg 20 30

00:21:13

passed #102651034
gitlab-org
rspec-pg 21 30

00:15:58

passed #102651035
gitlab-org
rspec-pg 22 30

00:20:04

passed #102651036
gitlab-org
rspec-pg 23 30

00:18:21

passed #102651037
gitlab-org
rspec-pg 24 30

00:16:45

passed #102651038
gitlab-org
rspec-pg 25 30

00:17:39

passed #102651039
gitlab-org
rspec-pg 26 30

00:19:05

passed #102651040
gitlab-org
rspec-pg 27 30

00:19:51

passed #102651041
gitlab-org
rspec-pg 28 30

00:18:43

passed #102651042
gitlab-org
rspec-pg 29 30

00:18:48

passed #102650996
gitlab-org
rspec-pg 3 30

00:19:57

passed #102650997
gitlab-org
rspec-pg 4 30

00:17:42

passed #102650998
gitlab-org
rspec-pg 5 30

00:18:52

passed #102650999
gitlab-org
rspec-pg 6 30

00:18:11

passed #102651000
gitlab-org
rspec-pg 7 30

00:19:54

passed #102651001
gitlab-org
rspec-pg 8 30

00:14:55

passed #102651002
gitlab-org
rspec-pg 9 30

00:19:46

passed #102651181
allowed to fail
sast

00:03:59

passed #102651113
gitlab-org
static-analysis

00:07:28

 
  Post Test
passed #102651190
gitlab-org
coverage

00:03:26

94.78%
passed #102651189
gitlab-org allowed to fail
flaky-examples-check

00:01:44

passed #102651191
gitlab-org
lint:javascript:report

00:03:41

 
  Post Cleanup
manual #102651192
gitlab-org allowed to fail manual
review-docs-cleanup