Error path referenced wrong var name
Merge pull request #11 from Metaswitch/fix-dir

Reviewer Felix: Error path referenced wrong var name