diff --git a/runtime-management/runtime-management-impl/src/main/resources/main.py b/runtime-management/runtime-management-impl/src/main/resources/main.py
index <HASH>..<HASH> 100644
--- a/runtime-management/runtime-management-impl/src/main/resources/main.py
+++ b/runtime-management/runtime-management-impl/src/main/resources/main.py
@@ -1,8 +1,8 @@
 import importlib
 import inspect
 import json
-import sys
 import os
+import sys
 
 EXECUTE_METHOD = "execute"
 
@@ -42,8 +42,10 @@ class PythonAgentExecutor(object):
                                 "' of type " + type(output[1]).__name__)
 
     def __process_result(self, result):
-        self.__check_output_type(result)
+        if result is None:
+            return {"returnResult": {}}
         if isinstance(result, dict):
+            self.__check_output_type(result)
             final_result = {"returnResult": dict(map(lambda output: (str(output[0]), str(output[1])), result.items()))}
         else:
             final_result = {"returnResult": {"returnResult": str(result)}}
Fixed failing validation for set as a return (#<I>)