Remove the _local field

We need to check if the entity type is local here as well. So something like:

```php
if ($received_entity->getEntityType()->get('local')) {
  throw new BadRequestHttpException('Only local entity types can be put through this endpoint.');
}
```