Add a workaround for ftp to get proper parent directory url with url option.