Repo factory is failing.