Fix bug where we are not handling resources with '/' in path correctly.
Merge pull request #110 from InABlender/root

Fix bug where we are not handling resources with '/' in path correctly.