fix default branch in history

When moving the constant `DEFAULT_BRANCH` to the yml, I must have forgotten to actually use the settings variable.