The version of the echo command shouldn't matter as it's not it that handles replacing with the env variable contents, but the shell.
Also in AmigaDOS (unlike Linux) if the variable doesn't exist the variable name is printed as is, as you experienced. In Linux an empty string would be printed instead.