Fixed bug in getting config for default branches.