rebar fix R17/17, check for empty Location info, probably nif calls