Do not raise exception when there is no entity repository defined