Fix git pull behavior with multiple remotes