update app migration to run on only main apps and released builds
comment out released builds
Merge pull request #4794 from dimagi/app-migration-tweaks

update app migration to run on only main apps and released builds