inspector: Replace code for listing applications with new core API.