Added check in LocalRepository.jdoPreStore() preventing multiple
instances in the database.