${var/pattern/string} will only replace the first occurence. We should use ${var//pattern/string} to replace all escaped slashes.
67b111a