In About Dialog, display default branch name/SHA in case it cannot be determined

Simple fix for #9688