Force lookup by getByexternalId instead of getByObject if only externalId is given