syntax: bail out early if pathString is just a simple path

R=arv
BUG=

Review URL: https://codereview.appspot.com/9863049