Fix bug in check_make_dir
Fix bug in check_make_dir

The directory used to be checked for existence over the entire
path, not just the local one. Now checked on the local directory
only.

ddeepwel/SPINSmatlab