sst: make register_sst_card more self-contained