The scale you mentioned, G# minor pentatonic, is the exact same scale as B major pentatonic, so your are correct. (G# minor is the relative minor of B major). However, it is better to think of this scale as B major pentatonic since the song is in the key of B.
Good luck with it and have fun!!
Mike
Keep rockin!
Mike Olekshy
GT Guitar Coach