BPP-10667 PrivatePackageDetector allows indirect inheritance of @PackagePrivate class

Signed-off-by: Piotr Findeisen <piotr.findeisen@syncron.com>