UpdateRemoteMirror: fix default branch resolution
Closes #1421 (closed)
This should also fix any other code that was assuming that Gitlab::Git::Repository#commit
returns the commit pointed to by the default branch: that assumption was false but is now true.