Remove trailing slash requirement from the ssh local path