fixed typo

excat check of target for leading /
changed notation
Merge pull request #3 from loertel/master

fixed typo