Fix bug with opensearch suggestions failing

Opensearch suggestions would fail if hwdoc app was not enabled. This
commit fixes that and closes #8