Workaround behavior change in QUrl::adjusted(QUrl::NormalizePathSegments)
For some reason adjacent slashes aren't merged into one when calling
QUrl::adjusted with NormalizePathSegments. This used to be the case
but isn't anymore, and our test failed. Adapt to this, as the Path
behavior is still correct for what we want.