Host registration UI fails with "wrong number of arguments (given 2, expected 1)"
- In UI, navigate to Hosts > All Hosts, click Register Host
- select a hostgrou
- set one of "Remote Execution" or "Setup Insights"
- click "Generate command"
Observe: Oops, we're sorry but something went wrong wrong number of arguments (given 2, expected 1)
Error log attached
Other setting combinations work as expected