Fix git config

missing values don't return nil, they return empty strings.