Fix entityManager importation