change cach_dir to cachdir

Made basic test work in salt