Revert "add local package support"

This reverts commit 4775a802d958dabd03768d5b7f0e89ce45b18d3d.