erp5_configurator: check and create with correct portal type value

See merge request !1403
18 jobs for master in 0 seconds
Status Job ID Name Coverage
  External
passed ERP5.CodingStyleTest-Master

02:13:53

failed ERP5.PerformanceTest-Master

00:24:00

failed ERP5.UnitTest-Master

04:45:39

failed ERP5.UnitTest-Master.Medusa

03:50:48

passed SlapOS.Eggs.UnitTest-Master.Python2

01:00:24

passed SlapOS.Eggs.UnitTest-Master.Python3

00:24:57

passed ERP5.CodingStyleTest-Master

00:49:02

failed ERP5.PerformanceTest-Master

00:24:05

failed ERP5.UnitTest-Master

03:16:36

failed ERP5.UnitTest-Master

01:38:29

failed ERP5.UnitTest-Master.Medusa

02:11:58

passed SlapOS.Eggs.UnitTest-Master.Python2

00:41:53

passed SlapOS.Eggs.UnitTest-Master.Python2

00:21:31

passed SlapOS.Eggs.UnitTest-Master.Python2

00:19:07

passed SlapOS.Eggs.UnitTest-Master.Python3

01:26:26

passed SlapOS.Eggs.UnitTest-Master.Python3

00:10:23

passed SlapOS.Eggs.UnitTest-Master.Python3

00:11:18

passed SlapOS.Eggs.UnitTest-Master.Python3

00:32:26