cmake: If git-describe failes with *-NOTFOUND, tag version dirty
cmake: If git-describe failes with *-NOTFOUND, tag version dirty

There is a case where git_describe was returning 'HEAD-HASH-NOTFOUND'
which missed the STREQUAL check and VERSION was set incorrectly.

Changed the STREQUAL to a MATCH on -NOTFOUND.  In this way, any of the
-NOTFOUND returns change the version to dirty.

Signed-off-by: Noel Eck <1e36ab6ededef40f3f16bdbc1b09eee72c5d08cf@intel.com>

nitirohilla/upm,stefan-andritoiu/upm,Jon-ICS/upm,nitirohilla/upm,stefan-andritoiu/upm,nitirohilla/upm,stefan-andritoiu/upm,spitfire88/upm,malikabhi05/upm,whbruce/upm,nitirohilla/upm,intel-iot-devkit/upm,malikabhi05/upm,intel-iot-devkit/upm,pylbert/upm,Jon-ICS/upm,Propanu/upm,jontrulson/upm,whbruce/upm,skiselev/upm,malikabhi05/upm,sasmita/upm,Jon-ICS/upm,skiselev/upm,g-vidal/upm,Propanu/upm,pylbert/upm,spitfire88/upm,sasmita/upm,spitfire88/upm,whbruce/upm,malikabhi05/upm,spitfire88/upm,pylbert/upm,stefan-andritoiu/upm,g-vidal/upm,whbruce/upm,g-vidal/upm,jontrulson/upm,g-vidal/upm,Propanu/upm,spitfire88/upm,Propanu/upm,skiselev/upm,pylbert/upm,malikabhi05/upm,intel-iot-devkit/upm,skiselev/upm,skiselev/upm,sasmita/upm,Propanu/upm,pylbert/upm,Jon-ICS/upm,jontrulson/upm,g-vidal/upm,sasmita/upm,malikabhi05/upm,stefan-andritoiu/upm,pylbert/upm,whbruce/upm,sasmita/upm,Propanu/upm,nitirohilla/upm,skiselev/upm,intel-iot-devkit/upm,stefan-andritoiu/upm,g-vidal/upm,jontrulson/upm,jontrulson/upm,intel-iot-devkit/upm,Jon-ICS/upm,intel-iot-devkit/upm