Avoid NPE when building as git submodule

2 jobs for version/0.13.1 in 4 minutes and 20 seconds (queued for 7 seconds)
latest
Status Name Job ID Coverage
  Build
passed build #70505

00:03:15

passed test #70506

00:04:20