Don't update the config file when on --pretend.

Signed-off-by: crynobone <crynobone@gmail.com>