bugfix against missing search agent

Change-Id: Ic05ac4fa4e68bc442b57eb74a51699924dd987d2