CMake: Only parse git origin if multiple remotes specified

--HG--
extra : rebase_source : 8a44bac392b804d96eaa93098876bf79915bd252