App structure api fix

Filter out remote apps, since today we do not need to manipulate them via the API.