Pages in subgroups showing 404

Summary

Pages sites on subgroups is returning 404.

Steps to reproduce

In a subgroup, deploy a Pages site, go to the domain given in the Pages settings.

Example Project

https://gitlab.com/nk-support-test/subgroup/subgroup-pages

What is the current bug behavior?

Pages site does not deploy or cannot be found.

What is the expected correct behavior?

Pages site loads.

Relevant logs and/or screenshots

404

Output of checks

This bug happens on GitLab.com