EM::getRepository was creating multiple repositories for same entity

When using interface or entity name instead of full class name.