Fixed check on Entity (3.x)

Ref. https://github.com/gwdg/rOCCI-core/issues/19