ocpiremote deploy failing

Summary

ocpiremote deploy fails due to incorrectly referencing an attribute.

Steps to reproduce

Run ocpiremote deploy

Context

Run ocpiremote deploy

Expected correct behavior

ocpiremote deploy would successfully run

Relevant logs and/or screenshots

Traceback (most recent call last):
  File "/home/gitlab-runner/builds/RfQ5rwXq/0/opencpi/opencpi/cdk/centos7/bin/ocpiremote", line 742, in <module>
    main()
  File "/home/gitlab-runner/builds/RfQ5rwXq/0/opencpi/opencpi/cdk/centos7/bin/ocpiremote", line 193, in main
    rc = args.func(args)
  File "/home/gitlab-runner/builds/RfQ5rwXq/0/opencpi/opencpi/cdk/centos7/bin/ocpiremote", line 554, in deploy
    if not args.remote_dir:
AttributeError: 'Namespace' object has no attribute 'remote_dir'

Environment info

CentOS 7 CI pipeline

Possible fixes

The remote-dir option needs to be specified for the deploy subcommand

Edited by Robert Neuhaus