auto upgrade -> set channel doesn't work anymore

I have a auto upgrade script with a line to set the channel.

:global updChannel “current”
/system package update
set channel=$updChannel
check-for-updates

Before 6.43.7 it works great but now in version 6.43.7 it hangs on the line:
set channel=$updChannel

Channel names have changed to “long-term”, “stable”, “testing”

thanks, solved