Doctrine 2 - ORM

[GH-481] check for false as a return value from get_parent_class(), not null