get-repo-dir middleware sets the repo dir var
get-repo-dir middleware is async
v0.1.5