HIV is not able to infect outside the body. Once exposed to the outside environment, it loses the ability to infect. That's the reason why masturbating someone, even with or without cuts or scrapes on the fingers, is never a risk for HIV.
by the way, the open wound on my thumb was fresh