usrloc(k): better safety check for null record access