Fixed the upload-manifest success check