Change API.SWITCH.list option name (`installed` instead of `installed_only`)

This is to look similar to next commit.
Simplify the API.list call and fix #584