Fix error when the package is not found