For local packages, the application component is now stored in AG persistence. This will avoid the diff, if transportable packages are pulled into local packages. Closes #1880