diff --git a/src/mpsd_software_manager/mpsd-software.py b/src/mpsd_software_manager/mpsd-software.py
index 438dccc4f1ec39abc6c1163ac6468d3dd9f7d8e6..bf408b177d42ac3759bcf743c723fab0eaac2ff3 100755
--- a/src/mpsd_software_manager/mpsd-software.py
+++ b/src/mpsd_software_manager/mpsd-software.py
@@ -1189,8 +1189,8 @@ def main():
     # Carry out the action
     args = parser.parse_args()
 
-    # target dir is the place where this script exists. the
-    root_dir = Path(os.path.dirname(os.path.realpath(__file__)))
+    # root dir is the place where this script is called from
+    root_dir = Path(os.getcwd())
 
     set_up_logging(
         args.loglevel,