Fix remote-directory with :local source