Added nil check in OData::Entity.process_links