Bugfix: Gems with special regex characters weren't released properly

This is not a bulletproof solution, but catches the most commonly used "special"
regex characters in gem names