Fix recursion error with the base path.
Merge pull request #12 from brendo/master

Fix recursion error with the base path.