Add package name and version validation