OGDCH-157: Only generate new name is needed

Make sure we only generate new package names if the package is actually new.