It was just a discussion point, no need to get sensitive over a TV showOf course it was done on purpose. To show how different things are than in the prequels.
Obi-Wan is just desperately trying to stay alive at this point and has to take any weapon he can get, he doesn't have the luxury of being picky.