FindMatlab: Fix regression on Windows Registry lookup failure
Fix logic from !8805 (merged) to avoid assuming that a registry entry always exists and is non-empty.
Fixes: #25497 (closed)
Backport: release
Fix logic from !8805 (merged) to avoid assuming that a registry entry always exists and is non-empty.
Fixes: #25497 (closed)
Backport: release