diff --git a/src/automation/service/__main__.py b/src/automation/service/__main__.py
index c554bdf3fa2521319a4463a0d19b2e6b8e54ee87..c94e6ef308c10dc029ffbfa096b902929ffa5db1 100644
--- a/src/automation/service/__main__.py
+++ b/src/automation/service/__main__.py
@@ -12,6 +12,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
+import sys
 
 def main():
     global LOGGER # pylint: disable=global-statement