Fixing has_app_cartridge method