Validate notNull directory argument in addRepository