lib: packagename: checkPackageName: first parameter's type is now StringRange