CD-73 Fix branch names with a '/' in them

@ktilcu @vasili-zolotov Tested this via a unit test :)