Fix issue with WebIDE not working on empty repos

This commit fixes a regression which prevented WebIDE from working
with empty repositories.
186 jobs for !22950 with 34522-webide-empty-repos in 76 minutes and 11 seconds (queued for 8 seconds)
detached
Status Job ID Name Coverage
  Prepare
passed #402083526
docker gitlab-org
build-qa-image

00:03:55

passed #402083522
gitlab-org
compile-assets pull-cache

00:08:30

passed #402083523
gitlab-org
compile-assets pull-cache foss

00:07:24

passed #402083521
docker gitlab-org
gitlab:assets:compile pull-cache

00:19:58

manual #402083527
gitlab-org allowed to fail manual
manual:review-cleanup
passed #402083529
retrieve-tests-metadata

00:02:13

passed #402083528
gitlab-org
review-stop-failed-deployment

00:01:14

passed #402083525
gitlab-org
setup-test-env

00:07:50

 
  Test
passed #402083544
code_quality

00:12:06

passed #402083768
gitlab-org
danger-review

00:04:58

passed #402083762
gitlab-org
db:check-schema

00:03:48

passed #402083763
gitlab-org
db:migrate-from-v11.11.0

00:13:08

passed #402083761
gitlab-org
db:migrate:reset

00:04:18

passed #402083764
gitlab-org
db:rollback

00:04:38

passed #402083766
gitlab-org
db:rollback geo

00:04:28

passed #402083546
dependency_scanning

00:12:44

passed #402083760
gitlab-org
downtime_check

00:03:34

passed #402083765
gitlab-org
gitlab:setup

00:04:09

passed #402083769
gitlab-org
gitlab_git_test

00:03:36

passed #402083530
gitlab-org
graphql-reference-verify

00:06:16

passed #402083533
gitlab-org
jest

00:31:13

passed #402083534
gitlab-org
jest-foss

00:19:48

passed #402083531
gitlab-org
karma

00:21:31

76.85%
passed #402083532
gitlab-org
karma-foss

00:12:32

passed #402083772
gitlab-org
lint-ci-gitlab

00:01:05

passed #402083540
gitlab-org
memory-on-boot

00:08:42

passed #402083539
gitlab-org
memory-static

00:06:03

passed #402083536
gitlab-org
qa-frontend-node:10

00:17:16

passed #402083535
gitlab-org
qa-frontend-node:8

00:15:56

passed #402083537
gitlab-org
qa-frontend-node:latest

00:18:20

passed #402083541
gitlab-org
qa:internal

00:02:16

passed #402083542
gitlab-org
qa:selectors

00:02:13

passed #402083543
gitlab-org
qa:selectors-foss

00:02:18

passed #402083757
gitlab-org
rspec fast_spec_helper

00:04:45

passed #402083603
gitlab-org
rspec integration pg9 1/6

00:22:59

passed #402083605
gitlab-org
rspec integration pg9 2/6

00:21:50

passed #402083606
gitlab-org
rspec integration pg9 3/6

00:21:17

passed #402083608
gitlab-org
rspec integration pg9 4/6

00:21:13

passed #402083609
gitlab-org
rspec integration pg9 5/6

00:24:39

passed #402083610
gitlab-org
rspec integration pg9 6/6

00:21:52

passed #402083611
gitlab-org
rspec integration pg9-foss 1/6

00:21:15

passed #402083612
gitlab-org
rspec integration pg9-foss 2/6

00:19:53

passed #402083613
gitlab-org
rspec integration pg9-foss 3/6

00:20:52

passed #402083614
gitlab-org
rspec integration pg9-foss 4/6

00:21:28

passed #402083616
gitlab-org
rspec integration pg9-foss 5/6

00:18:05

passed #402083618
gitlab-org
rspec integration pg9-foss 6/6

00:20:47

passed #402083547
gitlab-org
rspec migration pg9 1/4

00:10:27

passed #402083548
gitlab-org
rspec migration pg9 2/4

00:19:44

passed #402083549
gitlab-org
rspec migration pg9 3/4

00:22:07

passed #402083550
gitlab-org
rspec migration pg9 4/4

00:16:40

passed #402083551
gitlab-org
rspec migration pg9-foss 1/4

00:11:02

passed #402083552
gitlab-org
rspec migration pg9-foss 2/4

00:19:21

passed #402083553
gitlab-org
rspec migration pg9-foss 3/4

00:19:52

passed #402083554
gitlab-org
rspec migration pg9-foss 4/4

00:17:38

passed #402083620
gitlab-org
rspec system pg9 1/24

00:16:47

passed #402083640
gitlab-org
rspec system pg9 10/24

00:15:20

passed #402083643
gitlab-org
rspec system pg9 11/24

00:15:27

passed #402083645
gitlab-org
rspec system pg9 12/24

00:17:14

passed #402083647
gitlab-org
rspec system pg9 13/24

00:14:18

passed #402083648
gitlab-org
rspec system pg9 14/24

00:16:14

passed #402083649
gitlab-org
rspec system pg9 15/24

00:15:33

passed #402083651
gitlab-org
rspec system pg9 16/24

00:18:41

passed #402083653
gitlab-org
rspec system pg9 17/24

00:15:36

passed #402083657
gitlab-org
rspec system pg9 18/24

00:16:03

passed #402083660
gitlab-org
rspec system pg9 19/24

00:17:34

passed #402083621
gitlab-org
rspec system pg9 2/24

00:14:04

passed #402083662
gitlab-org
rspec system pg9 20/24

00:15:31

passed #402083664
gitlab-org
rspec system pg9 21/24

00:16:31

passed #402083665
gitlab-org
rspec system pg9 22/24

00:17:39

passed #402083667
gitlab-org
rspec system pg9 23/24

00:17:32

passed #402083671
gitlab-org
rspec system pg9 24/24

00:16:30

passed #402083624
gitlab-org
rspec system pg9 3/24

00:15:53

passed #402083626
gitlab-org
rspec system pg9 4/24

00:17:01

passed #402083628
gitlab-org
rspec system pg9 5/24

00:15:47

passed #402083629
gitlab-org
rspec system pg9 6/24

00:13:56

passed #402083630
gitlab-org
rspec system pg9 7/24

00:17:12

passed #402083633
gitlab-org
rspec system pg9 8/24

00:16:59

passed #402083636
gitlab-org
rspec system pg9 9/24

00:15:57

passed #402083673
gitlab-org
rspec system pg9-foss 1/24

00:15:18

passed #402083690
gitlab-org
rspec system pg9-foss 10/24

00:13:30

passed #402083692
gitlab-org
rspec system pg9-foss 11/24

00:13:19

passed #402083694
gitlab-org
rspec system pg9-foss 12/24

00:13:41

passed #402083695
gitlab-org
rspec system pg9-foss 13/24

00:17:11

passed #402083697
gitlab-org
rspec system pg9-foss 14/24

00:16:33

passed #402083699
gitlab-org
rspec system pg9-foss 15/24

00:14:50

passed #402083701
gitlab-org
rspec system pg9-foss 16/24

00:13:23

passed #402083702
gitlab-org
rspec system pg9-foss 17/24

00:13:11

passed #402083703
gitlab-org
rspec system pg9-foss 18/24

00:16:03

passed #402083704
gitlab-org
rspec system pg9-foss 19/24

00:15:37

passed #402083675
gitlab-org
rspec system pg9-foss 2/24

00:12:17

passed #402083705
gitlab-org
rspec system pg9-foss 20/24

00:14:36

passed #402083706
gitlab-org
rspec system pg9-foss 21/24

00:15:24

passed #402083707
gitlab-org
rspec system pg9-foss 22/24

00:15:24

passed #402083709
gitlab-org
rspec system pg9-foss 23/24

00:15:46

passed #402083712
gitlab-org
rspec system pg9-foss 24/24

00:17:25

passed #402083677
gitlab-org
rspec system pg9-foss 3/24

00:13:44

passed #402083679
gitlab-org
rspec system pg9-foss 4/24

00:13:20

passed #402083681
gitlab-org
rspec system pg9-foss 5/24

00:14:27

passed #402083683
gitlab-org
rspec system pg9-foss 6/24

00:15:57

passed #402083684
gitlab-org
rspec system pg9-foss 7/24

00:15:49

passed #402083686
gitlab-org
rspec system pg9-foss 8/24

00:13:28

passed #402083688
gitlab-org
rspec system pg9-foss 9/24

00:16:21

passed #402083555
gitlab-org
rspec unit pg9 1/20

00:21:30

passed #402083564
gitlab-org
rspec unit pg9 10/20

00:15:45

passed #402083565
gitlab-org
rspec unit pg9 11/20

00:18:32

passed #402083566
gitlab-org
rspec unit pg9 12/20

00:16:46

passed #402083567
gitlab-org
rspec unit pg9 13/20

00:19:37

passed #402083568
gitlab-org
rspec unit pg9 14/20

00:16:02

passed #402083569
gitlab-org
rspec unit pg9 15/20

00:18:42

passed #402083570
gitlab-org
rspec unit pg9 16/20

00:20:58

passed #402083571
gitlab-org
rspec unit pg9 17/20

00:17:33

passed #402083572
gitlab-org
rspec unit pg9 18/20

00:16:40

passed #402083573
gitlab-org
rspec unit pg9 19/20

00:16:51

passed #402083556
gitlab-org
rspec unit pg9 2/20

00:17:04

passed #402083574
gitlab-org
rspec unit pg9 20/20

00:19:36

passed #402083557
gitlab-org
rspec unit pg9 3/20

00:17:01

passed #402083558
gitlab-org
rspec unit pg9 4/20

00:15:07

passed #402083559
gitlab-org
rspec unit pg9 5/20

00:17:21

passed #402083560
gitlab-org
rspec unit pg9 6/20

00:19:08

passed #402083561
gitlab-org
rspec unit pg9 7/20

00:17:00

passed #402083562
gitlab-org
rspec unit pg9 8/20

00:18:25

passed #402083563
gitlab-org
rspec unit pg9 9/20

00:18:00

passed #402083575
gitlab-org
rspec unit pg9-foss 1/20

00:20:37

passed #402083584
gitlab-org
rspec unit pg9-foss 10/20

00:16:02

passed #402083587
gitlab-org
rspec unit pg9-foss 11/20

00:17:07

passed #402083588
gitlab-org
rspec unit pg9-foss 12/20

00:18:16

passed #402083589
gitlab-org
rspec unit pg9-foss 13/20

00:13:44

passed #402083590
gitlab-org
rspec unit pg9-foss 14/20

00:16:37

passed #402083591
gitlab-org
rspec unit pg9-foss 15/20

00:14:37

passed #402083593
gitlab-org
rspec unit pg9-foss 16/20

00:13:01

passed #402083595
gitlab-org
rspec unit pg9-foss 17/20

00:15:46

passed #402083597
gitlab-org
rspec unit pg9-foss 18/20

00:18:46

passed #402083599
gitlab-org
rspec unit pg9-foss 19/20

00:16:09

passed #402083576
gitlab-org
rspec unit pg9-foss 2/20

00:15:34

passed #402083600
gitlab-org
rspec unit pg9-foss 20/20

00:16:22

passed #402083577
gitlab-org
rspec unit pg9-foss 3/20

00:15:57

passed #402083578
gitlab-org
rspec unit pg9-foss 4/20

00:16:08

passed #402083579
gitlab-org
rspec unit pg9-foss 5/20

00:16:49

passed #402083580
gitlab-org
rspec unit pg9-foss 6/20

00:15:35

passed #402083581
gitlab-org
rspec unit pg9-foss 7/20

00:16:09

passed #402083582
gitlab-org
rspec unit pg9-foss 8/20

00:13:29

passed #402083583
gitlab-org
rspec unit pg9-foss 9/20

00:15:34

passed #402083755
gitlab-org
rspec-ee integration pg10 geo

00:09:57

passed #402083730
gitlab-org
rspec-ee integration pg9 1/3

00:21:17

passed #402083734
gitlab-org
rspec-ee integration pg9 2/3

00:21:02

passed #402083736
gitlab-org
rspec-ee integration pg9 3/3

00:18:35

passed #402083751
gitlab-org
rspec-ee integration pg9 geo

00:07:53

passed #402083713
gitlab-org
rspec-ee migration pg9 1/2

00:07:16

passed #402083714
gitlab-org
rspec-ee migration pg9 2/2

00:08:32

passed #402083756
gitlab-org
rspec-ee system pg10 geo

00:08:36

passed #402083739
gitlab-org
rspec-ee system pg9 1/5

00:17:25

passed #402083741
gitlab-org
rspec-ee system pg9 2/5

00:20:01

passed #402083743
gitlab-org
rspec-ee system pg9 3/5

00:20:06

passed #402083744
gitlab-org
rspec-ee system pg9 4/5

00:19:27

passed #402083745
gitlab-org
rspec-ee system pg9 5/5

00:19:26

passed #402083752
gitlab-org
rspec-ee system pg9 geo

00:07:45

passed #402083753
gitlab-org
rspec-ee unit pg10 geo 1/2

00:15:29

passed #402083754
gitlab-org
rspec-ee unit pg10 geo 2/2

00:18:15

passed #402083716
gitlab-org
rspec-ee unit pg9 1/5

00:21:56

passed #402083718
gitlab-org
rspec-ee unit pg9 2/5

00:23:11

passed #402083721
gitlab-org
rspec-ee unit pg9 3/5

00:27:19

passed #402083725
gitlab-org
rspec-ee unit pg9 4/5

00:31:45

passed #402083728
gitlab-org
rspec-ee unit pg9 5/5

00:30:12

passed #402083748
gitlab-org
rspec-ee unit pg9 geo 1/2

00:15:13

passed #402083750
gitlab-org
rspec-ee unit pg9 geo 2/2

00:20:49

passed #402083771
gitlab-org
run-dev-fixtures-ee

00:04:08

passed #402083770
gitlab-org
run-dev-fixtures-foss

00:04:16

passed #402083545
sast

00:22:35

passed #402083758
gitlab-org
static-analysis 1/2

00:15:22

passed #402083759
gitlab-org
static-analysis 2/2

00:10:56

passed #402083538
gitlab-org
webpack-dev-server

00:06:05

 
  Post Test
passed #402083777
gitlab-org
coverage

00:07:45

97.51%
failed #402083778
gitlab-org allowed to fail
flaky-examples-check

00:04:27

 
  Review Prepare
passed #402083779
gitlab-org
review-build-cng

00:29:48

 
  Review
failed #402083780
gitlab-org allowed to fail
review-deploy

00:18:00

manual #402083781
gitlab-org allowed to fail manual
review-stop
 
  Qa
passed #402083783
dast

00:07:09

manual #402083782
allowed to fail manual
package-and-qa
passed #402083791
docker gitlab-org
review-performance

00:04:25

manual #402083786
docker gitlab-org allowed to fail manual
review-qa-all 1/5
manual #402083787
docker gitlab-org allowed to fail manual
review-qa-all 2/5
manual #402083788
docker gitlab-org allowed to fail manual
review-qa-all 3/5
manual #402083789
docker gitlab-org allowed to fail manual
review-qa-all 4/5
manual #402083790
docker gitlab-org allowed to fail manual
review-qa-all 5/5
passed #402083785
docker gitlab-org
review-qa-smoke

00:07:49

 
  Post Qa
manual #402083792
gitlab-org allowed to fail manual
parallel-spec-reports
 
Name Stage Failure
failed
review-deploy Review
Unsuccessful Jobs for release review-34522-webi-surlef
No resources found in review-apps-ee namespace.
Running after script...
$ date
Tue Jan 14 09:28:14 UTC 2020
Uploading artifacts...
review_app_url.txt: found 1 matching files
Uploading artifacts to coordinator... ok
id=402083780 responseStatus=201 Created token=KkZYQtX2
ERROR: Job failed: exit code 1
failed
flaky-examples-check Post Test
    "first_flaky_at": "2020-01-14 08:48:05 +0000",
"last_flaky_at": "2020-01-14 08:48:05 +0000",
"last_flaky_job": "https://gitlab.com/gitlab-org/gitlab/-/jobs/402083618"
}
}
Running after script...
$ date
Tue Jan 14 09:07:02 UTC 2020
ERROR: Job failed: exit code 1