Explicitly set errno to ENOENT when a pkg hasn't been found in array/dictionaries.