sincle slash gets appended then this needs to set to empty rather than /

Fix for https://github.com/bolt/bolt/issues/1236