cleanup path to pass use it in substr
cleanup path to pass use it in substr

See http://irclog.perlgeek.de/perl6/2013-11-25#i_7914075
jonathanstowe/panda,tadzik/panda,dwarring/panda,laben/panda,skaji/panda,niner/panda,sjn/panda,tadzik/panda,shoichikaji/panda,dwarring/panda,raydiak/panda,hoelzro/panda,masak/panda,will-crawford/panda,raydiak/panda,hoelzro/panda,stmuk/panda,timo/panda,perlpilot/panda,tadzik/panda,hoelzro/panda,TimToady/panda,laben/panda,cygx/panda,timo/panda,sjn/panda,will-crawford/panda,moznion/panda,nbrown/panda,dwarring/panda,shoichikaji/panda,jonathanstowe/panda,niner/panda,nbrown/panda,sjn/panda,moznion/panda,stmuk/panda,skaji/panda,TimToady/panda,masak/panda,perlpilot/panda,cygx/panda