Small hack that gets a working EntityManagerFactory.