[api] avoid error when releasing an entire project with products