check for existence of path on replicate adapter
Merge pull request #261 from basz/fix/replicate-adapter-update

check for existence of path on replicate adapter