diff --git a/HLT/HLTUtils/share/make_hlt_rep.py b/HLT/HLTUtils/share/make_hlt_rep.py
index ab74742d0fa8a067cfcc64aad7130569d1fbb224..1d4ece4677e5fc340f56f694f6025261043a1dd5 100755
--- a/HLT/HLTUtils/share/make_hlt_rep.py
+++ b/HLT/HLTUtils/share/make_hlt_rep.py
@@ -1,9 +1,13 @@
 #!/usr/bin/env python
-# Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
+# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
 
 import optparse
 import os
 
+# Make sure getoutput() is in the subprocess module.
+from future import standard_library
+standard_library.install_aliases()
+
 import pm.project
 import pm.common