add support for . references to root
Merge pull request #1216 from evs-chris/gh-1204

Looks good to me