Bake only the Normal Maps without padding (Dilation, Diffusion). From the Shelf, click right on the Normal Map : export resource. Then you can bake normally, with diffusion, and use the exported normal map (the one without padding) as an opacity mask.