There seems to be an issue with the Pack UVs (toolkit_udim_operator) where it sometimes refuses to pack the selected UVs. The native Pack Islands operator failing to pack from code sounds familiar to me and may be its own issue. I might dig deeper into the native operator's required context variables to hopefully find something of interest.