added message on "is entity in metadata" assertion