fixed an issue where the folder path was not made when using rsync