Fix OOIION-1183. Make deployment_util more resilient

- Polished deployment_util to accept missing associations
- A prior commit enabled get_deployment_extension even if Deployment has missing associations