diff --git a/mythril/analysis/report.py b/mythril/analysis/report.py
index <HASH>..<HASH> 100644
--- a/mythril/analysis/report.py
+++ b/mythril/analysis/report.py
@@ -134,7 +134,7 @@ class Report:
         self.meta = {}
 
         if source is not None:
-            self.source = source
+             self.source = source or Source()
         else:
             self.source = Source()
Update mythril/analysis/report.py