Excluded packages should also work for inner classes #SCL-7121 Fixed