diff --git a/src/infi/projector/helper/utils/__init__.py b/src/infi/projector/helper/utils/__init__.py
index <HASH>..<HASH> 100644
--- a/src/infi/projector/helper/utils/__init__.py
+++ b/src/infi/projector/helper/utils/__init__.py
@@ -133,7 +133,7 @@ def get_isolated_executable(filename):
     import os
     from ..assertions import is_windows
     return os.path.join('parts', 'python',
-                        'Scripts' in is_windows() and 'python' not in filename else 'bin',
+                        'Scripts' if is_windows() and 'python' not in filename else 'bin',
                         '{}{}'.format(filename, '.exe' if is_windows() else ''))
HOSTDEV-<I> fixing previous ommit