[gandalf] Fixed setenv call.