search: don't fail the whole search request if dir info isn't available

Change-Id: Iae78d099c608dbe41f8ce9ccad1a11d70d212c48