[WICKET-5565] Added a check on request url to see if it starts with
mounted segments (for classes MountedMapper and PackageMapper)