Support remote path with query parameter