Skip local branch name if remote branch is empty and local branch is unknown to remote. Closes #2142.
Merge remote-tracking branch 'origin/release/2.47'

Conflicts:
	GitUI/CommandsDialogs/FormPull.cs