Use a regex replace all instead of single replace, for cases where projects or branches have more than one forward slash. Fixes #1293