Fix variable substitution to use the supported syntax

Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>