Fix malformed path variable spec.