A note on a Sobolev inequality with a remainder term for functions vanishing on some part of the boundary