At some point AppInsights Logger Key named values became secrets which broke the cleanup. The value is no longer returned so just checking on the name regex and whether the named value is a secret in order to clean them up.
Since API's can only be attached to one product, I made an enhancement that allows moving an API to a different product simply by changing the product it's assigned to in the bake recipe. The ingredient will now delete the old registration if different than the new one.