Handle input which is not a valid uuid.
Close issue membersys-7.

Change-Id: I3971c80b92ca0e1b6c203e712f63fc1ad6a005ed