Joining these two strings should actually result in "/b". I know this is an existing bug, but it should be pretty easy to include in your patch. If you don't want to do the extra work, either file a bug for it or let me know and I will file a bug for it.