Ensures Xapian isn't loaded when XAPIANDB is undefined, as well as when defined as an empty string.