Take maintainer_email from package_extras to package and make package.id generation better