[PATCH 5.1 334/405] thunderbolt: property: Fix a NULL pointer dereference