compdb: check that inputs is not empty