[BUGFIX] Make call to isPackageKeyValid non-static