Move some code to private in the HomebrewFormulaImportWorker