Tweak git revision target
Clean up old comments
Due to fakeroot-based building, we can't let Environment.* use /root, so override the XDG dir.