Fix for travis-ci failing on git

Ensure the config is set after the git repo is initialized.