EMX / MysqlRepository fixes

No, you iterate over RepositoryCollection entitynames, it must have that repo