A note on the local invertibility of Sobolev functions