don't repeatedly refresh when evaluating magit.el

Or any other library that uses `magit-set-variable-and-refresh'
or `magit-set-default-diff-options' to set an option.