Doctrine 2 - ORM

[GH-472] Fixed empty namespace in generated code when repository class do not have namespace