Remove empty string from remainder list in case of trailing /.

url ```http://hostname:9101/v1/actions```
remainder ```('v1', 'actions')```

url ```http://hostname:9101/v1/actions/```
remainder ``` ('v1', 'actions', '')```

Inclusion of the empty string at end of the tuple causes further lookups to fail.