Harden UUID parsing

If the scheduler sees a UUID that is not formatted properly, it should ignore
the message as invalid.

Change-Id: I4aff1cd035bc80902dfc37f693f33aad6cdc146d