Fixed NPE in DeploymentProfile

NPE occurred when unknown variable was referenced in an interpolated
string.