Fix refreshing updated modules
Use cache if first repo is not modified
Clear cache only when module was changed
Merge pull request #163 from snapshotpl/refresh-fix

Fix refreshing updated modules