Avoid trailingslashit()