What happens when there are no directories in the repo.  Didn't account for that... this should fix.
What happens when there are no directories in the repo.  Didn't account for that... this should fix.

joemccann/dillinger,joemccann/dillinger,jiusanzhou/dillinger,jiusanzhou/dillinger,jiusanzhou/dillinger,joemccann/dillinger