Rounding of the localization transition in model porous media.