          options))
        genrepo
        (if (get-in package-systems [package-system :cli])
-         ((get-in package-systems [:constructor])
+         ((get-in package-systems [package-system :constructor])
           (:pkgsys-config all-options))
          (get-in package-systems [package-system :genrepo]))
        version-comparator

                           "Must be an executable file which exists on the file system."]
                :required true]
               ["-u" "--subproc-out-format"
               "Whether to read `edn` or `json` from the exe's output"
               :validate [#(or (= "json" %)
                               (= "edn" %))
                       "Subproc output format may be either be 'edn' or 'json'"]]
               ]
              }})


            :validate [#(or (= "priority" %) (= "global" %))
                       "Strategy must either be 'priority' or 'global'."]]
           ["-t" "--package-system SYS"
            "May be 'degasolv', 'apt', or 'subproc'."
            :default nil
            :default-desc (str (:package-system subcommand-option-defaults))
            :validate [#(or (= "degasolv" %)
                            (= "apt" %)
                            (= "subproc" %))
                       "Package system must be either 'degasolv', 'apt', or 'subproc'."]]
           ["-V" "--version-comparison CMP"
            "May be 'debian', 'maven', 'naive', 'python', 'rpm', 'rubygem', or 'semver'."
            :default nil
