Fix really weird bug that caused local packages to be installed.