Fix test failure when paths contain regex metas

t/classes/Dancer2-Core-Role-HasLocation/base.t fails if the build path
contains regex meta-characters (like '+' in my case).
Disable pattern metacharacters when removing $basedir.
Reflect changes
Merge branch 'bugfix/regex_meta_chars'