Document pkg detection fix