`''` is correct - we're going to join the array with "/"s later, so an empty part will end up being a "/" (as confusing as that sounds.)  Hang on though, I have a better version based on your other comments.