Adding a new test for the synchronize module to test rsync_path
Minor tweak to rsync_path construction in synchronize module

Fixes #7182