Closes #5 Always apply trailing slash when path is empty