revert last change with ending slash char not to make it confusing, otherwise the user of this script should be aware of this behave of rsync