Fix error in ST2 where trailing slashes in persistent.json made the plugin unable to join workspaces.