Fix possible null deref in bin.get_info