Upper limits on CN from exocomets transiting $β$ Pictoris