Draft: fixes folder extraction from full path in metadata
The old way of extraciting the folder path out of the rsync URL-like syntax fails when used with the rsync protocol.
For example
echo "rsync://example.org:42/some/folder/" | cut -d : -f 2
returns //example.org
instead of /some/folder/
because of the
second :
which is not present in the ssh URL syntax.
Edited by Jerome Charaoui