Fixing issues when creating the folder inside another folder. The path was empty for some reason. Updates #131