python: rename _verify_dir_initialized to _assert_dir_is_initialized