Fixed #21718 -- Renamed has_app to installed.