[UseUG.cmake] Do not error out when UG is not found.

(Thanks to Andreas Buhr for the hint)