fix minor bug in looking up primitive procedures from cfg - only attempt lookup if a symbol