fix handling of NULL newname/subname in lookup_package()
fix handling of NULL newname/subname in lookup_package()

devzero2000/RPM5,devzero2000/RPM5,devzero2000/RPM5,devzero2000/RPM5,devzero2000/RPM5,devzero2000/RPM5,devzero2000/RPM5