Store UI does not load when there's a retired app

Description

When there's an app with two releases and one is retired, store UI doesn't load.

How To Reproduce

  • Create a new app on publisher
  • Add a new release to the app
  • Retire one release
  • Go to application store

Issue

Issue is on the getApplications method in store APIs. When it returns application list, app with two releases are deviced into two apps and retired release is added as an empty array.