Add a guard against NullPointerException in RestrictedLockUtils.

Change-Id: I1eb7852cf58a4435a2c7627a569ade5f44855bf7
1 file changed