I suggest to use the name and package from options with first priority, if it doesn't exist, use the value from manifest.