Fix Expand for path of len <= 1.
Merge pull request #2 from bredov/pull-request

Fix Expand for path of len <= 1.