Fix NPE for the feature flag check

Bug: 237723969

Test: Tested via GTS

Change-Id: I40b0e4c2327cfead0cf3685329646f1d707c70fd
1 file changed