Properly strip title placeholder in base href value

Change-Id: I10f143b116e6077ad0cf38d1a9bf3ed58a58b53d