Add `app_name` and `namespaces` from the `sub_match` to the newly constructed `ResolverMatch`.