owncloudcmd: Fix url handling with csync, make owncloudcmd sync again.

This fixes mirall issue #2211