Fixes #59: incorrect processing of dirs in paths
Update NamespaceMapping.php
Remove temporary variable
Merge pull request #60 from apsavin/patch-1

Fixes #59: incorrect processing of dirs in paths