fixed Null Pointer Exception on the verification of the folders. Fixes
#56