Make sure the path we are using ends with a trailing '/' if the URL contains one.