Fixed test for existence of script dir.
Merge branch 'hotfix/missing_script_dir'