BUG: incorrect ensure_clean (was ensure_path)