carved a separate _internal_check_encoded_path_is_dir() to abstract out path encoding
carved a separate _internal_check_encoded_path_is_dir() to abstract out path encoding

ctuning/ck-env,ctuning/ck-env,ctuning/ck-env,ctuning/ck-env,ctuning/ck-env,ctuning/ck-env,ctuning/ck-env,ctuning/ck-env