Fix handling invalid Git configs in Ruby 1.8.7
Formatting