Added check if the package no longer import someone when refresh the package