Fix "extra slash on path" bug.

I just used sed to remove the extra slash if there was one.