Make sure object exists before using it
Merge pull request #835 from kaltura/IX-9.11.0-production-fatals

Make sure object exists before using it