allow 0 as path element (closes #2)
Merge pull request #3 from krgn/master

allow 0 as path element (closes #2)