Fix bug that tried to load package default modules more than once