escape ebuild name in version calculation

Seems that regexes were failing due to multiple match characters (i.e.
++).