[installer] [target] bad variable substitution in while