Fix PR/fork check for doc upload.