Yes, this is safe to use on the potion guy. For most merchants, you can turn into a spider and chase them out of their shops, then loot it before they return. Mages can use their special move to swap places with a merchant to get him out of view. However, Kistandalius will teleport you out of his back room even if he can not see you.