find_package: Fix reporting of transitive dependency errors

Fix find_package to set an error message when trying to find
dependencies of a CPS package fails. This fixes the command previously
reporting "find_package unknown error" for such failures.
2 files changed