package checked for wrong package name and also the package already exist before the script has a chance to run so there is always at least "one" package with this name.