diff --git a/src/CountryPathTrait.php b/src/CountryPathTrait.php
index f574755..002a704 100644
--- a/src/CountryPathTrait.php
+++ b/src/CountryPathTrait.php
@@ -16,6 +16,12 @@ trait CountryPathTrait {
     if (!isset($active_domain) || $reset) {
       $domain_negotiator = \Drupal::service('domain.negotiator');
       $active_domain = $domain_negotiator->getActiveDomain($reset);
+
+      // Similar to Domain module's DomainSourcePathProcessor implementation,
+      // ensure the kernel event has run to prevent 404's.
+      if (empty($active_domain)) {
+        $active_domain = $domain_negotiator->getActiveDomain(true);
+      }
     }
 
     return $active_domain;
