fix npos comparison check in baseName method
Merge pull request #13 from humble/baseNameFix

Fix npos comparison check in baseName