3461018: Check if entity is revisionable before loading entities
requested to merge issue/migrate_file_to_media-3461018:3461018-commerce-product-variation into 2.0.x
Added a check to make sure the entity type is revisionable before loading the entities.
Tested and works with node images and now commerce_product_variation images.