Properly handle template branche names that contain a forward slash