Correct scope in ResourceCollection#parse

@jish @shajith 

A small fix I uncovered while trying to get CLI tests running. I don't have a spec that catches this here, but the move to mocha (PR coming soon) will prevent regressions.