Fix serious issue in installation.utils.update_from_template()

The point of the function is largely to figure whether it should actually
update the file or not (in case it has local modifications.)  It does this
by setting the local 'write_target' to either True or False.

And then it updated the file either way...