Factor fetch-package-metadata out into a stand alone function
New installer