CORE: fixed parsing common name in Utils

- Replace all double+ whitespaces in input string (raw name)
  with single space and trim input, so matcher can parse name
  correctly.