[Git] Fixed some NREs in Remotes Dialog and Funny Refname issues.