Well it wasn't necessarily redundant with hostgroup optional -- before your PR was merged, hostgroup was never passed in, so I needed to pass in deployment. Once hostgroup becomes required, it does look like I can remove the deployment arg -- I'll figure it out when I'm rebasing later.