Convert pkg fetch to the new world order