Fix for #preprocess_path