GTNPORTAL-3494 Fix for side effect in App Registry import-all

Fix for side effect discovered in original patch.