FormulaInstaller: factor out readline workaround
conflicts wip