c36800
Fix cloning repo which have a branch named 'origin' Without limiting the replace, the entire string was replaced and we ended up with a name being '' instead of 'origin'.