[#1038] Add a hard limit to recursion - just in case.
prevent_packages_update makes DGU publisher form easier. Could not see an easy way to insert this in our code.