This can also happen if you have trailing whitespace with a multi-line helm
install/upgrade command
helm upgrade arc \
--namespace NAMESPACE \
--dry-run \
oci://ghcr.io/actions/actions-runner-controller-charts/gha-runner-scale-set-controller
Ex - helm upgrade arc \
had a trailing space.