Add trailing slash on local dir for sync