CE-3531: Fix inventory calculation
In order to have AWX properly read the inventory from ce-deploy, we need to pass the IOCs that we intend to be deployed. That is, this should be:
- IOCs whose last deployments were successful
- IOCs whose deployments are pending