diff --git a/palm/plugins/dbt/dbt_containerizer.py b/palm/plugins/dbt/dbt_containerizer.py
index 85c146f..36928fa 100644
--- a/palm/plugins/dbt/dbt_containerizer.py
+++ b/palm/plugins/dbt/dbt_containerizer.py
@@ -123,7 +123,8 @@ def determine_profile_strategy(cls, project_path: "Path") -> Tuple[str, str]:
            the host and container volume mount values
         """
         container_default = "/root/.dbt"
-        if profile_path := os.getenv("DBT_PROFILES_DIR"):
+        profile_path = os.getenv("DBT_PROFILES_DIR", None)
+        if profile_path:
             profiles_dir = Path(profile_path)
             if not profiles_dir.exists():
                 raise AbortPalm("Your host has a non-existant DBT_PROFILES_DIR value!")