Get-Configuration: move branch name resolver here. Closes #12.