Swift: a first version of MacPorts.installed()