You should be fine! Just keep your hands clean. Are you sure the vomit was from a sick person (who had a stomach virus)? Or is it possible it was alcohol/hangover-related vomit? Or even dog vomit, for that matter? There are so many reasons for a non-emet to vomit other than from an infectious virus. I can completely understand your panic, but as long as you don't share any food with your dog, you should be totally fine