Validate notNull directory argument in addRepository
Merge pull request #3 from aslakknutsen/patch-1

Validate notNull directory argument in addRepository