Remove empty string from remainder list in case of trailing /.
Merge pull request #895 from StackStorm/versioned-api-url

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