Fix path retrieval failure within named scope expression

R=arv
BUG=

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