Bug 1039739 - Add some logging when writing the git commit id into the s...

...ettings app;r=yurenju