Fixes validate_path not being caught.