Prevent NPE from null metadata in GPM

Bug: 77238060
Test: Compile
Change-Id: I360e1da83dcb147013cca7ccf6d14ee0f162ec54
1 file changed