I shot some video against a green screen and the talent wore a green shirt under a black jacket. It is only a small portion of what she was wearing and the shirt never touches the green screen. Is there a way to only ultra key contiguous green or a way to bring her shirt back in after it is keyed out. It is only about a 30 second video and not a lot of movement.
I ended up duplicating the layer and used the garbage mask to take out everything except the green on her shirt and set up keyframes to adjust for her movement. That worked but not sure if that is the proper method. Is there a way to mask the ultrakey on the same layer? I am not experienced using masks.
It sounds like you did it the right way. Or, rather, the easiest, most common way.
It is possible to take the video, mess with the levels until you get all black or white, and use that as a mask. If you reduce the mask a bit you can avoid messing up any edges.
The advantage of that is that you don't have to keyframe. But that only works with some video. If there are soft edges like hair it won't work very well. But for clothing it is usually OK. Sometimes the movement is so radical that creating a mask out of the video itself can be a real time saver.