Remove unused special case; strip trailing slash if present.
Merge branch 'master' of github.com:tobinjt/bin