init: Make sure that git config is filled in

Instead of throwing exceptions during init, check for all required git
config records before init itself is executed.