- Added check for unexisting directories in cpk