generate correct remote url for person