Add null check for component name when fetching uid

Bug: 133442663
Test: Bug is not reproducible, but this is just adding a null check
Change-Id: Iaf4231b4b3b1e6e35ab7e7f7cac86a192ad7cd9b
1 file changed