enhance unit test for is_short_modname_for
escape software name before using it in regex in is_short_modname_for
Merge pull request #1037 from boegel/escape_name_regex

escape software name before using it in regex in is_short_modname_for