Backport to 3.1.x [TIMOB-12361] allow multiple spaces in project name