diff --git a/install-mpsd-software-environment.py b/install-mpsd-software-environment.py
index 0cd7e08f06c7799bd500b90b3d3d7164a14094e8..5ba0008d31eaa086bb43f07c7d1564fc499735ea 100755
--- a/install-mpsd-software-environment.py
+++ b/install-mpsd-software-environment.py
@@ -238,7 +238,7 @@ def install_environment(
 
     for toolchain in toolchains:
         if toolchain not in available_toolchains:
-            raise Exception(f"Toolchain {toolchain} is not available in release {mpsd_release}.")
+            raise Exception(f"Toolchain '{toolchain}' is not available in release {mpsd_release}.")
 
     # Install the toolchains
     with os_chdir(toolchain_dir):