If you get quarantined/ are infected with the Chinese virus/coronavirus/wuhan virus/covid 19 or any contagious disease for that matter, how would confessions or last rites work?
I imagine the priest would be, or should be willing to be suited up with the same protective garb the doctors and nurses use if that's what it came to, so this issue is really not an issue to be concerned with.
Pray daily for the grace of final perseverance and the grace of a happy death, and that God sends you and yours a good holy Roman Catholic priest to administer the Last Rites and blessings before you die, and that you receive them with the proper disposition so as to go straight to heaven and avoid purgatory when you die. We all should pray this faithfully every single solitary day of our life and God will certainly not fail to provide us with this greatest of all graces - no matter what the circuмstances are when our turn comes.
"From a sudden and unprovided death, oh Lord, deliver us." - Litany of Saints