upgrade to clay 2.2, fix local repository logic (doesn't use temp dir for now)
Merge pull request #7 from baev/master

Fix local repository logic (doesn't use temp dir for now)