Removed irrevelant trailing slashes and added a protection to the '--redir' option.
Removed irrevelant trailing slashes and added a protection to the '--redir' option.

Thecakeisgit/wSm,Thecakeisgit/wSm,Thecakeisgit/hostmgr,Thecakeisgit/hostmgr