FPHSA: Improve error message when VERSION_VAR is empty or has been unset()

Previously, when `VERSION_VAR` is set but empty, FPHSA emitted a
confusing error message, saying that the package was found but of an
unsuitable version "".  Fix the error message to state that the package
was not found.

Fixes: #23807
5 files changed