FORGE-1898: Using JavaSourceFacet.getBasePackage() and deprecated MetadataFacet.getTopLevelPackage()