Treat invalid uuid as nil