On OSX 10.13.4 (zsh), the existing command does not work when environment variable is wrapped in curly brackets. I have deleted the curly brackets from the command. Works on my machine..