Temporary fix for UoW searching for repository