Add missing quotes to allow omission of the -d parameter
Add -p parameter to the pungibase mkdir

This way no warning message is printed if the directory already
exists