[backend] fix syntax of register-target product provides
[api] fix search for sphinx 3.1.1