Catch the DirectoryNotFoundKraken raised by PR KSP-CKAN/CKAN-core#18.
Refactor module upgrade.
Merge pull request #18 from Ormira/mergev1.2

Refactor module upgrade.
Merge pull request #8 from Ormira/Issue#3

Catch the DirectoryNotFoundKraken raised by PR KSP-CKAN/CKAN-core#18.