plugins/sources/patch.py: Validate keys
Description
Currently we don't validate the keys on patch sources, leading to dodgy error messages if path is not specified. This adds a validation, as in other plugins.
Changes proposed in this merge request:
- Validate keys in
patch.py
This merge request, when approved, will close: it didn't seem worth opening an issue for a 1 line change