[BUGFIX] No path override for mount points

When generating RealURLs for a page inside a mount point the whole
page path will never be overridden because otherwise the mount point
path will be lost.

Resolves: #57960
Change-Id: I490577fc7efbbfce0a173382c32232ecff267f54